kewellcjj / nba-dash

NBA player shot selection dashboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NBA active player shot selection dashboard

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.

Running the app locally

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.

Built With

  • 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.

Screenshots

animated1

About

NBA player shot selection dashboard


Languages

Language:Python 61.4%Language:CSS 38.6%