This repository contains code for analyzing IPL (Indian Premier League) data using Python and Dash.
The code provides visualizations and insights into various aspects of IPL matches, including toss decisions, match wins, runs scored, and bowling and batting performances.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to install for this project and how to install them.
pandas: Data manipulation and analysis library
dash: Web application framework for building analytical dashboards
plotly: Interactive visualization library
The following dataset needs to be installed before running the code
- Indian Premier League 2008-2019 : https://www.kaggle.com/datasets/nowke9/ipldata
The following commands can be used to install the prerequisites and run the code.
- Install Dependencies
pip install pandas dash plotly
- Clone the repository
git clone https://github.com/ShreyasShende3/IPL-Analysis.git
- After cloning change the directory to the directory name
cd IPL-Analysis
-
Place the IPL dataset files (matches.csv and deliveries.csv) in the same directory as the Python code.
-
Run the Python script:
python main.py
- Open a web browser and navigate to http://localhost:8050 to see the interactive visualizations.
You should see the following output:
GNU General Public License v3.0