448/563 Essential preparation for Day 1

Dear students,


Tomorrow I will introduce you to a fairly new visualization module in Python called Altair. Please install it before class using the following:

To install the notebook and Altair with conda, run the following command:

conda install -c conda-forge altair vega_datasets notebook vega

To install the notebook and Altair with pip, run the following command:

pip install -U altair vega_datasets notebook vega

Then test it by attempting

import altair

in Jupyter Notebook. Let me know if you experience any difficulties.


We will be looking at the following data tomorrow. It's not huge, but it wouldn't be a bad idea to download it in advance: https://www.ssa.gov/oact/babynames/names.zip


Recall that there is an assignment to upload the result (a single JPG image) of your greenscreen subsititution to UBlearns before 2:00pm tomorrrow. As always, if you have questions, feel free to contact me.

John Ringland