Tutorial 3 And 4-2022

Class Organization

Labs/Assignments

** Tutorial 4 ** Tutorial 6 ** Tutorial 7

** Assignment 2

sidehead Old Pages (2022) * Tutorials ** Tutorial 1 ** Tutorial 2 ** Tutorial 3 and 4 ** Tutorial 5 ** Tutorial 6 * Assignments Overview ** Assignment 0 ** Assignment 1 ** Assignment 2 ** Assignment 3 ** Assignment 4

right edit SideBar

Tutorial 3 And 4-2022

Interactive Data Visualization with Altair

Before the class

  1. In this tutorial, you can choose whether to use Google Colaboratory or install Anaconda and Jupyter Notebook.
  2. In case you use Jupyter Notebook on your local machine, you need to install the Altair library.
  3. Make sure that Altair library did work before the class by running this demo on your local machine.
  4. Watch Introduction to Altair videos in this playlist.
  5. Getting familiar with data transformation with Pandas. We will not cover this in the tutorial.

Tutorial 3: Data visualization

  • The student notebook for this tutorial is available here.
  • Click File > Save a Copy in Drive to clone the tutorial notebook into your Colab Notebooks folder OR Click File > Download > Download .ipynb to download the notebook on your local computer.
  • Dataset: cars.json (You don't need to download if you installed the vega-datasets package.)
  • The solution will be posted here after the class.

Tutorial 4: Interaction and selection

Acknowledgment: The tutorials are based on Exploratory Data Visualization with Altair tutorial at PyCon 2018.

Recent Changes (All) | Edit SideBar Page last modified on February 03, 2022, at 07:58 AM Edit Page | Page History
Powered by PmWiki