Skip to content

Latest commit

 

History

History

altair_demo

altair_demo

Hi! This folder is a reference copy of this repo. It pertains to Nesta's Data Science team's "Have a go" session on altair package on September 5th, 2020. The following instructions are for cloning and running code from that repo.

Set up by running the following commands from the terminal

$ git clone https://github.com/beingkk/altair_demo
$ conda create --name altair_demo python=3.9
$ conda activate altair_demo
$ cd altair_demo 
$ pip install -r requirements.txt

And then run the tutorial notebook tutorial_Altair_charts.ipynb.

Feel free to use your favourite python development environment for this. For example, if you'd prefer jupyter lab, then you can install and run it by running these commands from the terminal:

$ pip install jupyterlab
$ jupyter lab

Alternatively you can run this Colab notebook (it will have a slightly reduced functionality, eg you won’t be able to export png and svg figures).

Best of luck!