liveBook · Manning

Diverging color palette

As explained in Everyday Data Visualization

A color palette that uses contrasting color progressions on either side of a meaningful midpoint to represent diverging values.

A diverging color palette represents continuous data that varies around a meaningful midpoint. It uses contrasting hues for the low and high ends, with a lighter, generally desaturated hue at the midpoint. section 4.3.1

Use one when the extremes matter as much as their direction from the midpoint:

A sequential palette can show larger values, but a diverging palette makes both extremes easier to see by emphasizing their opposition. Choose the midpoint carefully: without a meaningful center, the two-sided treatment can mislead. Also test the result in black and white, where diverging palettes often lose their distinction. section 4.3.1

Figure 4.25 The sequential palette on the left is fine for highlighting the larger values, but the diverging palette on the right makes it easier to see both extremes (the low and the high) for the same data set.
04-25

Compare a sequential palette with a diverging palette applied to the same data; the latter makes low and high extremes easier to distinguish. section 4.3.1

How Everyday Data Visualization covers it

How deep it goes
Defines the three-hue structure and perceptual rationale, then flags black-and-white contrast as a practical limitation.
Examples
Uses average temperature, revenue targets, political balance, poverty thresholds, and a sequential-versus-diverging figure.
What it assumes
Assumes continuous data and a meaningful midpoint while distinguishing sequential and categorical palette types.
What you can do after
Apply it to show opposing values clearly when a meaningful midpoint anchors the comparison.
How it connects
Connects continuous palettes with sequential palettes, categorical palettes, and color spaces.

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.