Python 3 is required to run this notebook. We recommend using venv to create a virtual environment for the notebook and its dependencies.
This notebook uses a small number of direct dependencies - most notably, Jupyter and Seaborn. The Seaborn library is built on top of matplotlib and provides a simpler interface and more visually appealing default themes. The library will install pandas, numpy, matplotlib, and other dependencies.
python3 -m venv venv
source venv/bin/activate
pip install jupyter seaborn
For the Sankey diagram at the bottom of the notebook, we use Plotly.
pip install plotly
To run the notebook, start Jupyter from the command line:
jupyter notebook
This notebook requires R and RStudio.
You will need to install the necessary R packages to run the notebook.
install.packages(c("ggplot2", "dplyr", "tidyr", "plotly"))