Olympic Data Analysis

Interactive exploration of Olympic participation and medals through country, sport and year filters.

2024

Pandas aggregation and Streamlit visualisations.

Data preparation and aggregation

CSV ingestion supplies the athlete/event records and NOC-region mapping. Preprocessing handles missing medal values and normalises NOC codes before joining regional context. Question-specific aggregation groups the records by edition, country or sport, while demographic views retain the relevant athlete characteristics.

The interface separates medal tallies, country analysis and athlete exploration. A selected country can be followed across editions, while sport and year filters narrow the demographic comparison. Data selection and aggregation stay in the Python processing layer; Streamlit presents the resulting charts and controls.

Overview

Olympic Data Analysis uses Python and Streamlit to explore athlete participation and medals from the Kaggle athlete_events.csv dataset: 271,116 rows and 15 columns. A National Olympic Committee region mapping connects the athlete records to country-level views. Year, country and sport filters turn the same historical source into targeted medal, participation and demographic comparisons.

Exploration views

  • Medal tallies compare results across selected years and countries.
  • Country analysis connects participation and medals over time.
  • Athlete views compare age distributions, height and weight characteristics and gender participation across sports.
  • Historical trends track participating nations and sports across editions, using interactive line/area charts, heatmaps and scatter plots for the corresponding question.

From records to a view

  1. Athlete/event data
  2. NOC-region join
  3. Cleaning and selection
  4. Question-specific aggregation
  5. Interactive chart

The selection and aggregation change with the user’s question; the source tables remain a common foundation.

↑ ↓ Browse · Enter Open · Esc Close