09 — Personal Analytics / Storytelling Dashboard

Rohit Sharma T20I Career

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.

DomainT20I Cricket
FormatStorytelling Dashboard
StackStreamlit · Plotly
Span2007–2024 (17 yrs)
01 / What

17 years of T20Is, structured into a story.

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.

02 / Why

A T20I career is multiple careers.

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.

03 / How

From PDF career summary to dashboard.

01

Extract data from career summary PDF

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.

pandasmanual extraction
02

Wide layout, four-section dashboard

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.

Streamlit widevertical sections
03

Plotly visualizations per section

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.

Plotly Expressgraph_objectssubplots
04

Deploy to Streamlit Cloud

Bundled DataFrames, single app.py, requirements lock for pandas / numpy / matplotlib / seaborn / plotly / streamlit. Push to GitHub → public Streamlit URL.

Streamlit Cloudfree tier
04 / Numbers

The career arc.

Career Span
17 yrs
2007 debut through 2024 World Cup win as captain.
Phase 1 Avg
21.7
2007–2010 — the rookie era. SR 116.
Peak Phase Avg
39.9
2016–2020 — established opener, 12 fifties / 2 hundreds.
Peak Phase SR
152.5
2021–2024 — the late-career acceleration phase as captain.
World Cups Analysed
9
Every T20 World Cup edition from 2007 through 2024.
Opposition Splits
8
AUS · BAN · ENG · NZ · PAK · SA · SL · WI.
— Open the dashboard —

The 17-year T20I arc.

Live Streamlit dashboard — career phases, opposition record, World Cup tournaments, venue splits.