liveBook · Manning

User interaction

As explained in Everyday Data Visualization

Interactivity is the capacity of a visualization or interface to respond to user actions by changing what is displayed or how it behaves.

User interaction lets a visualization respond to what someone does, often revealing another view or more detail. Its purpose is not to make a dashboard feel busy; it is to help people understand the data. An exploratory visualization needs room for users to investigate, while an explanatory one may work perfectly well without interaction. section 7.2 section 7.2.3

The confusing-door test

A door with an unclear handle makes people guess whether to push or pull. A visualization can create the same problem when people cannot tell what is interactive or what an action will do. Give users the information they need before asking them to act. section 7.1 section 7.2.3

Decide what to show immediately and what to leave for exploration:

  • Keep the main point and highest-level information visible without requiring a click, filter, or hover. section 7.2.3
  • Use a label for a survey response count when that count is the point; put the survey total and response percentage in a tooltip for people who want more context. section 7.2.3
  • Consider how much time the audience has. A quick-reading executive is less likely to explore extensively, so bring the important findings forward. section 7.2 section 7.2.3

Interaction also has to work for people who do not use it in the expected way. Under WCAG’s Operable principle, controls should respond to a keyboard, allow enough time to read and act, avoid flashing effects, and offer targets large enough to use reliably. For example, an automatic scroll should be pausable and rewindable, and a tiny phone button should not demand a perfect tap. section 7.4

Figure 7.9 If the main point is that X number of people gave a certain response on a survey, you could put that X in a label, and then, if you want to give more context, such as the total number of people surveyed and the percentage who’d chosen that response, you could put that secondary information in a tooltip. This way, users will get the main idea, but when they want to know a little more, then all they need to do is hover on each bar.
07-09

The survey-chart example contrasts an immediately visible count with supporting details available on hover. section 7.2.3

How Everyday Data Visualization covers it

How deep it goes
Works through visibility and tooltip decisions with audience-based rationale, then gives accessibility criteria rather than tool-specific implementation steps.
Examples
Uses confusing doors and a survey chart whose visible count is supplemented by tooltip details.
What it assumes
Builds on visualization communication through color and typography while introducing interaction design through an everyday door example.
What you can do after
Evaluate/understand it by deciding what must be visible immediately and checking whether interactions remain operable for a broad audience.
How it connects
Connects exploratory and explanatory visualizations with WCAG accessibility.

Also explained in

Compare how 2 books explain user interaction →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Everyday Data Visualization. The section links point to the parts of the book it draws on.