The foundations of interactivity, and how we can think about it and how we use it.
Exploring More Interactivity
Time to start talking about interactivity!
During class today, we will explore creating interactive visualizations using bqplot. For next week, we will discuss the taxonomy of interactive visualizations and how we can use that understanding to better guide our construction.
References and Reading List
- Narrative Visualization by Segel and Heer
- Watch This: A Taxonomy for Dynamic Data Visualization by Cottam et al
- FiveThirtyEight Datasets
- Video about bqplot
- An introduction to Grammar of Graphics
- ipywidgets docs
- traitlets docs
- bqplot docs
Data
Lectures
We introduce a little bit of javascript, how to publish websites on GitHub, and we start learning vega-lite.
Examples
bqplot with interactivity - (download)
We review last time's bqplot intro, then build out linked views with the interval selector
A bar chart with some scaling and aggregation
Manually supplied data values for a circle chart
Filtered horsepower cars chart
Assignments
Demonstrate how to put a vega-lite visualization on a webpage