DS-201b · Module 2

Visual Encoding Principles

4 min read

Color, size, position, and shape encode information. Every visual encoding decision on a dashboard either clarifies or confuses. There is no neutral. A red number means "bad" to 94% of viewers. If your red number means "above target," you have built a dashboard that lies visually.

I track visual encoding errors across client dashboards. The three most common: color used decoratively instead of semantically, inconsistent scale across related charts, and data-ink ratio violations (too much decoration, too little data).

VISUAL ENCODING RULES
======================

COLOR (used for status, never decoration):
  Green:  On track / positive trend / above target
  Yellow: Warning / approaching threshold / flat
  Red:    Action required / below threshold / declining
  Gray:   Neutral / no status / context data
  RULE: If a color doesn't encode status, remove it.

SIZE (used for magnitude):
  Larger elements = more important or larger value
  Consistent scaling across related elements
  RULE: If two bars represent the same metric type,
  they must use the same scale. Always.

POSITION (used for comparison and time):
  Left-to-right = time progression or ranked comparison
  Top-to-bottom = hierarchy or priority
  RULE: The most important element occupies the
  top-left quadrant. Always.

CONTRAST (used for attention):
  High contrast = requires attention (alerts, anomalies)
  Low contrast = background context (baselines, history)
  RULE: Only 1-2 elements per view should be
  high-contrast. More than that = nothing stands out.

ACCESSIBILITY:
  8% of males are red-green colorblind.
  Use icons + patterns alongside color. Always.
  Test dashboards with a colorblind simulator.

The data-ink ratio principle — from Edward Tufte — is the most useful concept in dashboard design. Data-ink is any visual element that represents actual data. Non-data-ink is everything else: decorative borders, 3D effects, gradient fills, unnecessary gridlines. The goal: maximize data-ink, minimize everything else.

Every pixel that is not conveying information is a pixel that is distracting from information. A chart with a 3D effect, gradient fill, and decorative border delivers the same data as a clean 2D chart — but the clean version is processed 40% faster by the viewer's visual cortex. Speed of comprehension is the ultimate dashboard metric.

Do This

  • Use color exclusively for status encoding — green/yellow/red mapped to thresholds
  • Maximize data-ink ratio — remove every visual element that does not represent data
  • Test with colorblind simulation — 8% of male executives cannot distinguish red from green

Avoid This

  • Use color decoratively — "let's make this chart blue because blue looks nice"
  • Add 3D effects, gradient fills, or decorative borders — they slow comprehension by 40%
  • Rely solely on red/green for status — always pair color with icons or patterns