OlympiTrack is an interactive and insightful data analysis web app for exploring Summer and Winter Olympics over the years. Built using Streamlit, it provides dynamic visualizations and deep insights into athlete dominance, country performance, participation trends, and more — spanning from 1896 to 2024.
- Summer Olympics: 1896 to 2024
- Winter Olympics: 1900 to 2014
- The dataset includes the 1906 Intercalated Games, which are not officially recognized in modern medal counts — leading to minor discrepancies from official records.
- 🥇 View medal tallies by year and country
- 📈 Explore historical trends in participating countries, events, and athletes
- 🌍 Generate interactive heatmaps of country-wise performance
- 👑 Discover the most successful athletes, globally and by country
- ☀️ Separate analysis for Summer and ❄️ Winter Olympics
- ⚙️ Modular code structure and optimized data loading for better performance
Check out the deployed app here:
🔗 https://olympitrack.onrender.com
- Python 3.11+
- Pandas for data manipulation
- Matplotlib and Seaborn for visualizations
- Streamlit for the web interface
- Render for deployment
- 🐢 Slow heatmap rendering: Solved by reducing DataFrame size using
drop_duplicates(),pivot_table(), and simplifying the visuals - 🕓 App load time: Improved by removing redundant preprocessing and modularizing logic into
helper.py - 📁 File path issues on Render: Fixed by using relative paths and keeping only production-critical files
- 📉 Medal count discrepancy: Due to inclusion of 1906 games (not part of official Olympic records)
- Clone the repo:
git clone https://github.com/deeprao03/olympics_analysis.git
- Install dependencies:
pip install -r requirements.txt
- Run the app:
streamlit run App/app.py
##✅ Future Improvements
🎯 Add event-specific filters (e.g., swimming, gymnastics)
🧑💼 Integrate athlete bios from public APIs
🗺️ Include map-based visualizations
📡 Add real-time Olympic updates (when API available)
👤 Author Deepanshu Rao 🔗 GitHub Profile
- Copy the above code into your
README.mdfile. - Make sure the deployment link and repo link are correct.

