Thursday 1:20 p.m.–4:40 p.m. in Room 21

Exploratory Data Visualization with Vega, Vega-Lite, and Altair

Jake VanderPlas


Exploring a new dataset visually can provide quick intuition into the relationships within the data. There are a few well-developed visualization packages in Python, but they often have very imperative APIs that force the user to focus on the mechanics of the visualization – tick locations, axis limits, legends, etc. – rather than the salient relationships within the data. This tutorial will introduce data visualization with [Altair](, a package designed for exploratory visualization in Python that features a declarative API, allowing data scientists to focus more on the data than the incidental details. Altair is based on the [Vega]( and [Vega-Lite]( visualization grammars, and thus automatically incorporates best practices drawn from recent research in effective data visualization. The tutorial will provide an introduction to the Altair package and its API, but more importantly will dive into the core concepts of effective data visualization that can be applied using any visualization package or tool.

Student Handout

No handouts have been provided yet for this tutorial