An interactive Streamlit dashboard that tells the story of Virat Kohli's Test cricket legacy through career phases, opposition splits, conditions-by-venue breakdowns, captaincy-vs-non-captaincy contrasts, and a statistical legacy section. Built as a long-form, scrollable analysis — not a stat dump.
A multi-section Streamlit dashboard structured as a narrative arc through Virat Kohli's Test career — emergence, peak, captaincy era, post-captaincy adjustment. Each section combines headline stats with charts and short prose: not a table dump, a guided read.
The sections cover phase-wise performance, opposition splits (record vs each team), home vs away vs SENA, captaincy impact on his own batting, and a closing statistical legacy section that contextualises his numbers against contemporaries.
Most cricket statistics pages are summary tables — career average, hundreds, fifties — that flatten a decade into one row. A career like Kohli's has distinct phases (the 2014 England struggle, the 2016–2019 peak, the captaincy era, the post-2022 reset) that the aggregate hides entirely.
This dashboard breaks the career into those phases and lets the numbers tell the story chronologically — the way fans and analysts actually remember it.
Hand-curated DataFrames from Test career records — phase splits (matches, innings, runs, average, SR, 50s, 100s), opposition splits, home/away/neutral splits, captaincy splits. Source: official Test career data through 2024.
Streamlit's st.markdown with injected CSS gives each section its own header style, metric cards, and accent palette. Each phase block reads like a short essay with charts inline.
Phase-wise bar charts for runs/average/SR over time, radar charts for opposition strength, scatter plots for venue performance, donut charts for shot-type / dismissal distribution. All interactive — hover for context, click to filter.
Closing comparative section — Kohli vs his Indian Test peers, vs the global modern Test era. Combines stat cards with a brief written summary that frames the legacy in context, not just numbers.
Free-tier Streamlit hosting. Single app.py with bundled DataFrames — no external API calls, no live data sync. The career is closed-form historical data, so freezing the dataset is the right call.
Live Streamlit dashboard — scroll through the career phase by phase, with charts and short narrative blocks at every section.