Skip to content

hariharmayuresh/Cricket-Data-Analytics

Repository files navigation

๐Ÿ Cricket Data Analytics Dashboard

License Built With Dashboard Status


๐Ÿ“Œ Project Title

T20 World Cup Cricket Data Analytics โ€“ Team Selection & Dashboard with Python + Power BI


๐Ÿ“Š Project Summary

This project provides a data-driven deep dive into the 2022 T20 Cricket World Cup, with a creative twist. It starts with scraping match and player data from ESPNcricinfo, processes the data using Python (Pandas), and visualizes it via an interactive Power BI dashboard. It provides a detailed breakdown of individual and team performances, using advanced data modeling and DAX calculations in Power BI. The project ends with an algorithmically chosen Best XI players based on performance statistics.


๐Ÿ“บ Project Demo

๐ŸŽฅ Cricket Data Analytics โ€“ T20 World Cup Dashboard

Click to Watch Cricket Dashboard Demo


๐Ÿš€ What I Did

  • ๐Ÿ” Web Scraping: Collected structured cricket data from the ESPNcricinfo website
  • ๐Ÿงน Data Preprocessing: Cleaned and formatted the raw data for analysis
  • ๐Ÿ“ Data Modeling in Power BI: Created relationships between batting, bowling, and match tables
  • ๐Ÿง  DAX Calculations: Developed calculated fields for strike rate, economy, batting average, etc.
  • ๐Ÿ“Š Dashboard Design: Designed an interactive Power BI dashboard for user-friendly insights
  • ๐Ÿงฉ Best XI Selection: Built logic to extract the top 11 performing players across all teams

๐Ÿ—๏ธ Key Features

  • ๐Ÿ“ˆ Power BI dashboard with filters for roles, countries, and metrics
  • ๐Ÿ… Role-based player analysis: openers, middle-order, finishers, all-rounders, bowlers
  • ๐Ÿ“Š Performance KPIs: Batting average, strike rate, wickets, bowling economy, total runs.
  • ๐Ÿ” Timeline Analysis: Match-wise performance throughout the tournament
  • ๐Ÿง  Applied DAX to derive new metrics for meaningful insights
  • ๐ŸŽฏ Best XI Team: Data-driven selection of the best performing players

๐Ÿ“ Files Included

  • Cricket_T20_WC_2022.pbix โ€“ Interactive Power BI Dashboard
  • t20_files.csv โ€“ Scraped and preprocessed data used for modeling
  • README.md โ€“ Project summary and guide

๐Ÿ› ๏ธ Tools & Tech

  • ๐Ÿ Python (Pandas) โ€“ Data cleaning and transformation
  • ๐Ÿ“Š Power BI โ€“ Dashboard creation and DAX metrics
  • ๐ŸŒ ESPNcricinfo โ€“ Data source
  • ๐Ÿงฎ DAX โ€“ Advanced measures and calculated fields (SR, Economy, AVG)

๐Ÿ“Š Use Cases

  • ๐Ÿ Select top-performing players for specific roles
  • โš–๏ธ Compare players across teams and positions
  • ๐Ÿ“Š Identify the most balanced playing XI based on stats
  • โš™๏ธ Support coaches, selectors, and analysts with data-backed decisions

๐Ÿ™Œ Acknowledgments

  • ESPNcricinfo for match and player data
  • The cricket analytics community for inspiration

๐Ÿ“ฌ Connect

For questions or collaborations, feel free to reach out!

About

A data-driven analysis of the 2022 T20 World Cup, featuring web-scraped stats, Python processing, and an interactive Power BI dashboard with a performance-based Best XI selection.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors