SaTracking
Data visualizationNEWIntermediate

Choose visual encodings that match the data and the question

Map values to position, length, color and area without misleading the reader.

Download for AI (.txt)

Measurement topic illustration · SaTracking

Why encoding matters

A chart maps data values to visible properties. A poor mapping can exaggerate small differences, hide uncertainty or imply an order the data does not contain. Review the field type and analytical task before choosing a chart.

1. Classify the field

Nominal fields have no natural order (channel, product family). Ordinal fields have a meaningful order (low, medium, high). Quantitative fields are measured numbers; temporal fields have chronological order; geographic fields have spatial relationships. Then state the task: compare, rank, inspect a distribution, show a relationship, explain composition or follow change.

2. Use position and length for precise comparisons

Aligned position on a common scale is generally easier to judge than area, angle or color intensity. Bars work for a manageable set of categories because they share a baseline; dot plots can be cleaner with many categories or series. A bar encoding magnitude by length should normally start at zero. For small variation in a narrow range, use points or lines and label the axis rather than truncating bars without explanation.

3. Give color a defined role

Use distinct hues for a limited set of nominal groups, an ordered light-to-dark sequence for quantitative magnitude, and a diverging scheme only when values depart in two directions from a meaningful center. Avoid rainbow palettes for ordered values, excessive category colors, and red/green as the only cue. Pair color with labels, position or shape where accessibility matters; test grayscale and common color-vision deficiencies.

4. Treat area and angle cautiously

Area is difficult to compare precisely. If circle area represents a value, scale area—not radius—proportionally. Bubbles are better for broad patterns than exact ranking. Pie charts suit a small number of parts that form a meaningful whole at one point in time. For precise category comparisons, bars are usually easier. Do not compare pies across periods if totals change without making that change explicit.

5. Match form to task

TaskStarting pointCaution
Compare categoriesBar or dot plotSort meaningfully
Show a trendLinePreserve chronological spacing
Inspect distributionHistogram or box plotExplain bins and outliers
Show relationshipScatter plotCheck overlap and confounding
Show compositionStacked barSegments away from baseline are harder to compare
Show geographic patternMapConsider rates and aggregation

These are starting points, not automatic rules. Sample size, field type and audience can change the choice.

6. Review as a reader

Ask a colleague to answer the chart's intended question without reading its paragraph. If they cannot, revise title, scale, labels or encoding. Check units, category order, missing values, legend clarity and exported readability.

Common mistakes

A map is not always best for regional comparison; a ranked bar chart may show small differences better. Color should encode a documented value or category, not decorate. Split distinct questions into coordinated views instead of overloading one chart. A scatter plot shows association, not causality.

Release rule

Record field type, analytical task, visual channel and reason. “It was the default chart” is not a design rationale.

Official references

EDITORIAL HISTORY

What changed

  1. v1.0.0
    Initial complete bilingual guide created from the documented source material and checked against supporting technical references.
MEASUREMENT SUPPORT

Need a hand with your tracking?

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