Summer season Olympic Video games By way of the Lens of Knowledge | by Milan Janosov | Jul, 2024

Utilizing Python and Wikipedia to attract geographical and community maps of the medal-winning international locations.

This yr’s Summer season Olympic Video games, held in Paris, is upon us in just a few days, so I made a decision to dive into the historical past of the Olympics as a knowledge scientist, in any other case not too deeply vested within the particulars of Olympic sports activities, would do.

Particularly, counting on public Wikipedia information, I needed to determine which international locations have been the largest stars of the Olympics earlier than and who’re the largest rivals of one another. Particularly, I collected the entire variety of Gold, Silver, and Bronze medals gained by every nation, damaged all the way down to the extent of particular person sports activities. Then, I put the entire variety of medals on world maps, utilizing the medal-sport profiles to construct and visualize the same community of nations, illustrating the competing clusters of nations with related sports activities profiles.

Let’s get began by constructing the information set!

All pictures had been created by the writer.

1. 1. Getting the whole record olympic international locations

First, I went after the Wikipedia web site titled All-time Olympic Video games medal desk, which has a brief abstract of…

Leave a Reply