/nba-shotcharts

Shot Chart, Hexmap and Heatmap for NBA.com. FlightsReact.

Primary LanguagePython

NBA Shot Charts (Inspired by FlightReacts)

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

Getting Started

First, clone the repository.

git clone https://github.com/hkair/nba-shotcharts.git

Prerequisites

cd .. into repository

Installing

A step by step series of examples that tell you how to get a development env running

  1. Activate the environment
source env/bin/activate
  1. Install dependencies.
pip install requirements.txt 
  1. Run nba_shotcharts.py
python nba_shotcharts.py "Michael Jordan" "1997-98"

Acknowledgments