An interactive Streamlit dashboard analysing Rohit Sharma's T20I career from 2007 to 2024 — four chronological phases, eight-team opposition splits, nine World Cup tournaments, and home / away / neutral venue breakdowns. Built to chart the evolution from a 21-average rookie to a 36-average World Cup-winning captain.
A four-section Streamlit dashboard covering Rohit Sharma's full T20I career. Career phases (2007–2010, 2011–2015, 2016–2020, 2021–2024) show the trajectory — average climbs from 21 to 39 between phases 1 and 3, strike rate from 116 to 152 by phase 4. Opposition splits cover 8 nations. World Cup record covers all 9 tournaments he played. Venue splits separate home, away, and neutral grounds.
The dataset is hand-curated from a PDF career summary — closed-form historical data, no live API needed.
Rohit Sharma's T20I career spans 17 years across four eras of T20 cricket — from the format's infancy (2007) through its data-driven modern phase (2024). A single career average compresses all of that into one number that means nothing.
The phase-wise view reveals what the average hides: he got progressively better every era — average up, strike rate up, six-hitting up — culminating in a 2024 World Cup as captain. That's the story a dashboard like this is for.
Build four DataFrames manually from career source: phase data, opposition data, World Cup data, venue data. Each row a clean record with matches / innings / runs / average / SR / high score / 50s / 100s.
st.set_page_config(layout="wide") for full-screen real estate. Each section gets its own header and chart group. Title + intro line at the top, then the four sections stacked vertically with clear visual breaks.
Phase: dual-axis line (avg + SR over time). Opposition: grouped bar across 8 teams. World Cup: tournament-by-tournament bar with hundreds/fifties overlays. Venue: home/away/neutral bar with strike-rate emphasis. make_subplots where two views share an axis.
Bundled DataFrames, single app.py, requirements lock for pandas / numpy / matplotlib / seaborn / plotly / streamlit. Push to GitHub → public Streamlit URL.
Live Streamlit dashboard — career phases, opposition record, World Cup tournaments, venue splits.