The following program scrapes data from the All About Mozart website dedicated to listing the Köchel catalogue, using the BeautifulSoup library as web scraping tool, the requests library for HTTP fetching and pandas to parse the results into CSV format. Additionally, the count of works per genre is included in the DataFrame.
As a music enthusiast, I take an interest in the historical record of musical works and their analysis. Mozart's catalogue, collected and studied a century later, during the 19th, by the musicologist Ludwig Ritter von Köchel, is specifically a vast one given the composer's prodigious ability at not only performing but also writing music, having in a short lifespan of 35 years almost 700 registered works.
The gathered data was used to make an interactive Power BI dashboard with relevant data grouped by year, region, musical style and even key. With this simple analytical tool, we can observe Mozart mainly wrote arias, symphonies and piano pieces, and surprisingly more lieder (i.e. short songs inspired by German poetry) than piano sonatas. The visualized data is also congruent with his chronology: for example, most of his sacred music was written in the first period of his life living in Salzburg and being at the service of the archbishop Colloredo, before moving to Vienna in 1781 to pursue more economic and artistic independence.