Portfolio / IPL data analysis
Case study · Data & analytics
IPL data analysis
Ball-by-ball analysis of the first eight seasons of the Indian Premier League, explored through interactive dashboards.

The brief
What it needed to do.
The Indian Premier League, run by the BCCI since 2008, is one of the most watched cricket leagues in the world, and every ball generates data.
This platform scrapes and analyses the first eight seasons, ball by ball, for every player and every match. Users can explore how players perform against teams and each other, and what drives each team's success.
What we built
Inside IPL data analysis.
Data collection
Scrapy collects ball-by-ball data from several sources.
Ball-by-ball data
Every ball of every match, for every player, across eight seasons.
Player analysis
How each player performs against a team and against individual players.
Team insight
Success rates and patterns for each team.
Filters
Team vs team, player vs player, toss status and more.
Interactive dashboards
Plotly and Altair charts served through Django.
How it works
The workflow, step by step.
Scrape
Collect ball-by-ball data from several sources with Scrapy.
Analyse
Combine Pandas and NumPy to compute player and team statistics.
Visualise
Build dashboards with Plotly and Altair.
Explore
Users filter by team, player and toss status.
Challenges
The hard parts, and how we solved them.
Combining sources
The challengeCricket data is spread across several sources and formats.
Our solutionScrapy spiders collect it, and Pandas merges it into one consistent ball-by-ball data set.
Questions users actually ask
The challengeRaw statistics do not answer "how does this batter do against this team?".
Our solutionFilters for team vs team, player vs player and toss status, backed by analysis in Pandas and NumPy.
Under the hood
Technology.
- Scraping
- Python, Scrapy
- Analysis
- Pandas, NumPy
- Visualisation
- Plotly, Altair
- Web
- Django
Delivered
What we shipped.
- Ball-by-ball data for the first eight IPL seasons
- Player-vs-team and player-vs-player analysis
- Interactive dashboards with flexible filters
More work
Related projects.
Your project
Building something similar?
We design, build and run software like this, from the first prototype to production. Tell us what you want to build.




