A Python project for comparing NBA player performance stats from the 2023/2024 season. It reads from a CSV file and visualizes key statistics such as points, assists, rebounds, and shooting accuracy using bar charts.
- Player input and validation
- Comparison across four categories
- Professional data visualization using Matplotlib and Seaborn
- Option to save charts in various formats
Make sure you have Python 3.7+ installed.
- pandas
- numpy
- matplotlib
- seaborn
Using the requirements file (Recommended):
pip install -r requirements.txt
Or, if you're using a virtual environment:
# Create a virtual environment
python -m venv venv
# Activate it
source venv/bin/activate # On Linux/Mac
venv\Scripts\activate # On Windows
# Install dependencies
pip install -r requirements.txt
## Usage
1. Clone the repo
2. Run the script
3. Enter the names of two players from the dataset
4. View or save the comparison chart
## Output
All charts are saved in the `plots/` folder.
### Future Enhancements
Integrate real-time data using the NBA API for live comparisons.
Add a web-based interface using Streamlit or Django.
Enable multi-player comparisons.
Add interactive visualizations
Automatically highlight the statistically better performer per stat
## License
This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.
### Contact Me:
If you have any questions or would like to collaborate, please feel free to reach out to me through:
- **Email:** nueltajart@gmail.com
- **LinkedIn Profile:** www.linkedin.com/in/emmanuel-omotaje-40154a275