THINK FIRST·CODE LATER

← Interactive Information Visualization
Chapter 8 · Week 8

Interaction and Multiple Linked Views

Answered 0/30 Correct 0
Sign in to save progress across devices
Q1

Which is not a good reason to add interaction to a visualization?

Q2

Dragging a rectangle over a time range in one chart, which then filters a bar chart next to it, is called:

Q3

What is semantic zoom?

Q4

Small multiples of PM2.5 per district are an example of which faceting strategy?

Q5

A line chart with a dashed guideline rule and a highlighted district over grey context lines uses:

Q6

Which Altair code creates a selection by dragging along the x axis only?

Q7

In Altair, how do you make points grey when they are not in the selection pick?

Q8

What is the difference between alt.condition(sel, ...) and .transform_filter(sel)?

Q9

Which Altair binding turns a point selection into a dropdown menu?

Q10

What does .interactive() add to an Altair chart?

Q11

In the specification of a linked dashboard, how do you recognize the view that is filtered by a brush named brush?

Q12

PM2.5 by district (Lucheng 42, 55, 61, 48; dates 1–4 March). A brush selects 2–3 March. What mean does the linked bar show for Lucheng?

Q13

In Bokeh 3, what happens with figure(plot_width=400)?

Q14

Which Bokeh call draws marker glyphs of size 8 in Bokeh 3.4+ without a deprecation warning?

Q15

What is the role of ColumnDataSource in Bokeh?

Q16

A Bokeh dashboard uses select.on_change("value", update) with a Python function update. What is needed to run it?

Q17

What does output_file("sales.html") do in Bokeh?

Q18

About how fast must feedback be for brushing and hovering to feel instantaneous?

Q19

A chart must show 10 years of 5-minute data (≈ 1 million points) in 800 pixels. What is the best approach?

Q20

According to research on trend visualization (Robertson et al., 2008), animation is:

Q21

Why should essential information never be only in a tooltip?

Q22

Which Plotly Express call creates an interactive line chart coloured by district with temperature in the hover box?

Q23

"Overview + detail" differs from "focus + context" in that:

Q24

Two Bokeh figures use the same ColumnDataSource, and both have a box-select tool. What happens when the user selects points in one figure?

Q25

Which Altair binding gives a slider for a numeric parameter, such as a minimum PM2.5 threshold?

Q26

Selecting a district on a map highlights the same district's line in a time series. This coordination is called:

Q27

Heer and Shneiderman's "interactive dynamics" taxonomy (2012) groups interactions into data and view specification, view manipulation, and:

Q28 Short answer

Design the interaction for a two-view CityPulse dashboard: a time series of daily PM2.5 per district and a bar chart of mean PM2.5 per district. Specify which view defines which selection, what the other view does (highlight or filter), and write the Altair code.

Q29 Short answer

An older case study builds a Bokeh dashboard with figure(plot_width=700, plot_height=400), plot.circle(..., size=6), a Select widget with a Python on_change callback using curdoc(), and it is distributed to students as an HTML file. Explain everything that fails or is outdated in Bokeh 3 and how to fix it.

Q30 Short answer

For the CityPulse bike dashboard, classify each interaction as change / select / navigate / details on demand, name the task it serves, and say whether it is worth its cost: (a) a slider for the hour of day; (b) hovering a station for its exact bike count; (c) brushing a time range to filter a station ranking; (d) an animation of all stations' fill levels over a day; (e) zooming the map with more labels appearing.