SaTracking
Data visualizationNEWIntermediate

Design heatmaps with defensible color scales

Heatmaps encode magnitude through color, so scale choice and accessibility matter.

Download for AI (.txt)

Measurement topic illustration · SaTracking

Match the scale to the data

Use sequential palettes for ordered low-to-high values, diverging palettes when a meaningful midpoint exists, and qualitative palettes only for categories. Set the midpoint and range based on the analytical question, not solely on observed extremes. Document clipping or normalization.

Make cells interpretable

Choose cell ordering that reveals structure, such as time, hierarchy or clustered similarity. Include labels or tooltips for exact values when precision matters. Avoid too many categories and ensure the matrix is not so dense that individual cells become unreadable.

Check accessibility and context

Do not rely on red-green distinctions alone. Test contrast, color-vision accessibility and grayscale interpretation. Explain missing values separately from zero. State aggregation, units and time window. If the palette changes between reports, preserve a stable scale or clearly communicate the change.

Practical review

A heatmap is useful for pattern discovery, but exact comparisons may need labels or a companion table.

Further reading

Validate the analytical contract

Before polishing the visual, verify the measure definition, grain, denominator, filters, missing-value treatment and time window. Check whether the chart implies a ranking, proportion, distribution, relationship or change, and whether its encoding supports that task. Test the chart with realistic data extremes, not only a clean sample. Labels, annotations and reference lines should clarify the comparison without changing the underlying meaning.

Ask a reader to describe the conclusion and the evidence they used. If the reader notices a decorative element before the key comparison, simplify the design. If a decision depends on exact values, provide labels or a companion table. For recurring reports, preserve definitions and scale conventions across periods, and document any intentional change so trends remain interpretable.

Review checklist: confirm metric and denominator; check scale and ordering; inspect missing values; test contrast and labels; validate the takeaway with a reader.

Official references

EDITORIAL HISTORY

What changed

  1. v1.0
    Created and validated original bilingual guide for editorial batch 08.
MEASUREMENT SUPPORT

Need a hand with your tracking?

Nicolas Salazar works with teams on analytics, tracking plans, data quality, consent, and implementation.