This Dash app shows active NBA players' shot selections. Results are summarized by shot distance, shot type and shot location and can be filtered by year, period of game and shot zone.
Create a conda environment with conda env create -f environment.yml
, then activate it by conda activate nba-dash
. Run the app with python app.py
.
- NBA API - Python API client to source data from stats.nba.com
- Dash - Main server and interactive components
- Plotly Python - Used to create the interactive plots
The dashboard template is larged based on Dash Natural Gas Well Production Example. The NBA court drawing code is from this tutorial.