Start studying
Module 8 · Visualisation Module contents
Module 8  ·  Card 10 / 13intermediate

Visual Encoding and Colour Palettes

Visual encoding is the mapping from data values to visual properties such as position, length, angle, area and colour.

People judge position and length most accurately, and angle, area and shades of colour far less accurately.

Sequential palettes run light to dark for ordered values, diverging palettes meet at a middle value, and categorical palettes use distinct hues.

For example, temperature above and below the average suits a diverging palette with a neutral colour at 0.

About 1 in 12 men has some colour vision deficiency, so red against green should never be the only difference between series.

Learn in depth ↓
Module 08 · Visualisation · 13 concepts
In depth  /  15 lines

Visual Encoding and Colour Palettes, in more detail

Every chart is a set of encodings: decisions about which visual property shows which column.

Position on a shared axis is the most accurate encoding, which is why bar charts and scatter plots read so well.

Length comes next, then angle and area, with shades of colour among the least accurate for exact values.

This ranking explains why pie charts, which use angle, are harder to read than bars, which use length.

Colour works best for telling groups apart or highlighting, rather than for showing exact amounts.

Hue means the colour family, such as red or blue, and suits categories because hues have no natural order.

Lightness has a natural order, so ordered values suit a single hue running from light to dark.

A diverging palette joins 2 sequential palettes at a meaningful middle, such as 0 change or the average.

Rainbow palettes are a poor choice for ordered values, because their bright bands create edges that are not in the data.

Categorical palettes stop working beyond about 8 colours, since readers can no longer tell them apart.

Red against green fails many people with colour vision deficiency, so blue against orange is a safer pair.

Checking a chart in greyscale shows whether it still works without colour.

Consistent colours across charts help readers, so one region should keep one colour throughout a report.

In practice a chart often uses grey for context and a single strong colour for the point being made.

The usual mistake is using colour for decoration, which competes with the colours that carry meaning.

Test yourself

One question on this card. Every option explains itself once you pick, right or wrong.

Question 1
A map shows temperature against the long-term average, from 3 degrees colder to 3 degrees warmer. Which palette fits best?
Visualisation

13 concepts in this module, then a graded test with every answer explained.

Study this module →
↑↓ move↵ openesc close