liveBook · Manning

Tooltip

As explained in Everyday Data Visualization

A tooltip is a transient interface label or information panel that appears when a user hovers over or activates a visual element.

A tooltip is a small information blurb that appears when someone hovers over an element. In a visualization, it can add detail without crowding the chart—but it should not be the only place to find the main point. section 7.0 section 7.2.3

A survey bar with a little more to say

Suppose a bar shows how many people chose a survey response. Put that count on the bar if it is the main point. A tooltip can add the total number surveyed and the percentage who chose that response. Readers get the story at a glance and can hover for context. section 7.2.3

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

Compare the immediately visible survey count with the secondary figures revealed on hover. section 7.2.3

Before moving information into a tooltip, ask:

  • Is it necessary to understand the chart? Keep key numbers, background context, and takeaways visible rather than making readers hunt for them. section 7.2.3 section 7.0
  • How much time will readers spend here? For a hurried audience, favor more visible labeling. section 7.2.3
  • Is it useful but secondary? Extra figures, help text, and data-origin information are reasonable candidates. Keep help close to the chart it explains. section 7.2.3

On a phone, show a tooltip when someone taps a data point rather than relying on hover. If several charts are stacked vertically, synchronizing their tooltips can help readers keep their place across charts. Test the interaction with actual users: a tidy-looking chart is not much help if no one can tell what it means. section 7.3.2 section 7.0

Figure 7.10 When stacking many charts on a mobile device, consider synchronizing the tooltips across all the charts to help the user orient themselves.
07-10

See how synchronized tooltips help orient a reader across stacked mobile charts. section 7.3.2

How Everyday Data Visualization covers it

How deep it goes
Explains placement decisions through audience time, information priority, and mobile interaction; stops short of implementation instructions.
Examples
Uses a survey bar with a visible response count and tooltip context, plus synchronized tooltips across stacked mobile charts.
What it assumes
Assumes familiarity with charts and dashboards while defining tooltips and explaining their relationship to visible labels.
What you can do after
Evaluate/understand tooltip placement by keeping essential information visible and reserving hover or tap for secondary context.
How it connects
Connects tooltips to data visualization, labels, dashboards, user testing, and mobile interaction.

Also explained in

Compare how 2 books explain tooltip →

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.