Skip to content

Nueltaj/NBA-stat-comparison-tool

Repository files navigation

NBA Player Stat Comparison Tool πŸ€πŸ“Š

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.

Features

  • Player input and validation
  • Comparison across four categories
  • Professional data visualization using Matplotlib and Seaborn
  • Option to save charts in various formats

Requirements

Make sure you have Python 3.7+ installed.

  • pandas
  • numpy
  • matplotlib
  • seaborn

Install Dependencies

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

About

Compare NBA Player Stats with Visual Flair πŸ€πŸ“Š A Python-powered tool to compare NBA player statistics from the 2023/2024 season using interactive bar charts. Just input two player names and get instant visual insights into their performance across points, assists, rebounds, steals, and more.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors