This is my kind of project. I'll get this done by June. All jokes aside, this is a my attempt to create a shot chart, hexmap, and heatmap. All complete functions are contained in the jupyter notebook.
Here's a link to the youtube tutorial: https://youtu.be/a3u-3gEYvxM
First, clone the repository.
git clone https://github.com/hkair/nba-shotcharts.git
cd .. into repository
A step by step series of examples that tell you how to get a development env running
- Activate the environment
source env/bin/activate
- Install dependencies.
pip install requirements.txt
- Run nba_shotcharts.py
python nba_shotcharts.py "Michael Jordan" "1997-98"
- https://github.com/savvastj for the draw_court function.
- https://github.com/swar for the nba_api.
- Inspired by FlightsReact, Youtube's best Basketball Player