Next-Gen-Stats Play Animation using Plot.ly

The work that we have done here is using data taken from the official NFL Big-Data-Bowl 2019.

We have created an easy python file that you can run in order to create HTML embedded animations for the plays from the data collected for the NFL Big Data Bowl. In order to use the program, follow the steps below.

First install Plot.ly for Python. The easiest way is likely:

pip install plotly

Then, figure out what the path to the data is. This should be the folder that contains all the NGS files. An example path is:

/users/rishav/big-data-bowl/data

Run the code from the directory the file is in using the command:

python animate_vals.py /path/to/data/folder

Input the gameID and the playID and the output will be an HTML file with the plot.ly animation of the play.

Some Examples