Skip to content

JoeBwonKenobi/1896-2024-Summer-Olympic-Medals

Repository files navigation

1896-2024 Summer Olympic Medals

Olympic Medals Over the years

Overview

This project explores the historical data of Olympic medals from 1896 to 2024 to uncover patterns, trends, and insights related to national and continental performance. By analyzing this extensive dataset, the goal was to understand the factors influencing medal outcomes, such as age, medal types, and host country advantages. The project also seeks to identify trends in medal efficiency and the impact of hosting the Olympics on a country’s performance. The insights gained can offer valuable perspectives on how different nations and continents have evolved in their Olympic success over time.

Data

The dataset used in this project is comprised of historical records of Olympic Medals from 1986-2024, including information on medal counts, participating countries, athlete details, and hosting countries.

Link to data source:

Methods

Data Cleaning & Preprocessing:

The dataset was cleaned using Pandas, prepared by handling missing values and ensuring consistency in the data, particularly focusing on standardizing country names and codes.

Feature Engineering:

Used Pandas and NumPy to create additional features and enhance the overall analysis.

  • Medal Efficiency: A metric to evaluate the efficiency of countries in winning medals relative to their participation.

  • Host Advantage: A measure to analyze the impact of hosting the Olympics on medal counts.

  • Continent Aggregation: Creating a columnm that contains which continent each country is from.

  • Medal Trend: The percentage change in total medals won by each country across different Olympic Games.

  • Most Common Medal: Most common medal won by each country overall.

Visualizations:

Employed Seaborn, Matplotlib, and Plotly for various visualizations, including bar charts, pie charts, and line plots, that helped to illustrate key findings:

  • Total Medals Awarded Each Year.
  • Total Medals won United States.
  • Most Common Medal Won By US Yearly.
  • US Medal Trend
  • Total Medals By Continents
  • Total Medals Over Time

Visualizations

Total Medals Awarded Each Year

Total Medals awarded each year 1896-2024

  • The number of participants have varied throughout the years, due to some events being added or taken away.

Total medals won United States

Total Medals won Yearly by US

  • This shows the total number of medals the US has been awarded over the years.

Most Common Medal Won By US Yearly

Most Common Medal Won By US Yearly

  • This visualizes the most common medal type awarded to the US through the years.

US Medal Trend

Medal Trend For US over the years

-This shows the increase or decrease in the number of medals won by the US compared to the previous year.

Total Medals By Continents

download

  • This shows us that Europe has dominated in total amount of medals won throughout the years of the Olympics.

Total Medals Over Time

download

  • This shows that the US has pretty consistently dominated in total medals over the years.

Hypothesis Testing:

Several hypotheses were tested to validate assumptions, results for each of these are captured below:

Medal Efficiency and Continent Performance: Analyzing whether certain continents consistently outperform others.

Medal Eff HP

Host Advantage Hypothesis: Testing if hosting the Olympics significantly impacts a country’s total medal count.

Medal Eff by Country HP

Effect of Medal Type on Medal Efficiency: Investigating if the type of medal won influences a country’s efficiency.

Medal Eff and Medal Trend HP

Medal efficiency across different countries: Looking for correlation between Medal efficiency and countries.

Medal Eff by Country HP

Medal efficiency effects on medal trends: Looking at medal efficiency correlation with medal trends.

Medal Eff and Medal Trend HP

Host advantage effect on most common medal: Looking for correlation between the host advantage and most common medal won when a country is hosting the Olympics.

Host Advantage on Common Medal HP

Summary:

This project uncovered key insights into medal trends and efficiency across different countries and continents in the Olympic Games from 1896 to 2024. The United States has consistently led in total medals awarded, holding the record for the most medals won in a single Olympics. However, Europe stands out as the dominant continent in terms of overall medal count. The analysis also revealed significant differences in medal efficiency between continents. Additionally, a clear host advantage was observed, with countries performing better when the Olympics are held in their own nation. This advantage extends to the most common medal won during these events as well.

About

Olympic Medals Over the years

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published