An interactive data visualization tool that provides detailed statistics and insights about the Olympic Games, including medal counts, country rankings, athlete achievements, and event histories. This project is built using Streamlit for a user-friendly web interface.
Medal Tally: Displays the total medal tally for a selected country and year, allowing users to explore medal counts for specific Olympic editions and countries.
Overall Analysis: Provides high-level statistics like the number of Olympic editions, sports, events, athletes, and nations, along with trends in participation over the years.
Country-wise Analysis: Allows users to explore a specific country’s performance in the Olympics over the years, including medal tallies, sports performance, and top athletes.
Athlete-wise Analysis: Offers detailed insights into athletes, including age distribution by medal type, height vs. weight scatterplots, and gender participation trends.
The OlympicStats app is designed to help users explore comprehensive Olympic Games data in an interactive and easy-to-understand way. It is particularly useful for:
- Sports Enthusiasts & Analysts: Discover historical Olympic statistics, analyze trends in medal counts, and explore the performance of different countries and athletes across various Olympic events.
- Researchers & Data Scientists: Use the tool to analyze Olympic datasets, extract trends, and build insights on global participation, performance, and more.
- Education & Awareness: Educators and students can use this tool to gain insights into Olympic history and learn about countries' and athletes' performances over time.
- Input: The app provides various input filters, such as selecting a specific Olympic year, country, or sport.
- Processing: The data is fetched and processed from a reliable Olympic dataset, which includes statistics like medal counts, athlete performance, and country rankings.
- Output: The user can visualize the data through interactive charts, tables, and visualizations. Insights like the most successful countries, top-performing athletes, and historical trends are displayed.
- 📊 Interactive data visualizations, including charts and tables.
- 🥇 Displays medal counts and performance metrics by country and year.
- 🌍 Ability to explore performance by specific sports or Olympic events.
- 🖥️ Clean and user-friendly interface powered by Streamlit.
- 🔄 Option to compare data across multiple Olympic Games and years.
-
Clone the repository:
git clone https://github.com/bushraqurban/OlympicStats.git cd OlympicStats
-
Create a virtual environment and activate it (optional but recommended):
# On Mac/Linux: python3 -m venv venv source venv/bin/activate
# On Windows python -m venv venv .\venv\Scripts\activate
-
Install the required dependencies:
pip install -r requirements.txt`
-
Run the application:
streamlit run app.py
This will open the app in your default browser.
- Open the app by visiting OlympicStats Streamlit App.
- Use the provided filters to select a year, country, or sport.
- Explore the different visualizations and statistics displayed on the app.
- You can click through the charts to dive deeper into specific insights or countries.
This project is licensed under the MIT License - see the LICENSE file for details.
This project was guided by the content from the YouTube channel Campusx. Their tutorials and resources provided a solid foundation for building an interactive dashboard to explore Olympic statistics.
- Streamlit: For building the interactive web application.
- Pandas: For data manipulation and analysis.
- Matplotlib and Plotly: For creating interactive visualizations.
- Seaborn: For enhanced visual aesthetics in the charts.
- Python: The core language for processing and analysis.