Why is my Python Altair chart printing a blank line? Wondering if anyone can help me understand why python altair chart is not printing...

I’m only seeing this when I run the code:



It literally isn’t outputting anything.

This is what my chart looks like converted to_dict; recommended for troubleshooting to ensure you have data.



Any ideas about why it’s not displaying a graph/chart/etc, and only printing a blank line?

Adding the head of the csv in pandas form.
The issue was enabling the vega module/extension in the notebook. Installing it is only half the battle, then you must enable it. :)

sudo jupyter-nbextension enable vega --py --user