The best way to use Wikipedia knowledge to visualise the recognition of high athletes and Olympic sports activities
We simply witnessed an exquisite three weeks of sports activities because the 2024 Olympic Video games unfolded in Paris, with hundreds of thousands of individuals watching the streams and rooting for his or her favorites. Concurrently, we noticed family names crushing it once more, and the following technology of stat athletes emerged.
As a curious knowledge scientist, I began to marvel how the collective opinion behind these evolves — that are the most well-liked sports activities, and which athletes are on the rise? Then, to place knowledge behind this, I made a decision to do an in depth knowledge assortment from Wikipedia, containing each Wikipedia profiles and look at rely info, after which evaluate the recognition of various sports activities in addition to high athletes. Under, please discover my outcomes and all of the Python code wanted to breed these.
All photos have been created by the creator.
First, let’s go to the Wikipedia website of the 2024 Summer time Olympics, and obtain it utilizing the requests library. Then, I take advantage of the BeautifulSoup package deal to extract info from the html — particularly, the listing of all summer time sports activities and their Wiki website hyperlinks. To extract the sports activities, moreover, I observe my handbook…