Best Data Viz

Every chart is ranked by these principles.

Perception

The Encoding Hierarchy

Cleveland & McGill, 1984 · Journal of the American Statistical Association

Humans decode visual encodings with varying accuracy. Position on a common scale is the most accurate; color and area are the least. This hierarchy should guide every chart type decision: use bar charts (position) over pie charts (angle/area) when precision matters.

Position > Length > Angle > Area > Volume > Color
Read the full principle

Preattentive Processing

Colin Ware, 2004 · Information Visualization: Perception for Design

Certain visual properties (color, orientation, size, motion) are detected by the brain in under 200 milliseconds, before conscious attention kicks in. Use these sparingly to highlight what matters. When everything is highlighted, nothing is.

Read the full principle

Gestalt Grouping

Wertheimer, 1923 · Applied by Ware, Few, and Munzner

The eye automatically groups elements by proximity, similarity, enclosure, and connection. Elements that are close together are perceived as related. Use whitespace and alignment to create visual structure without adding lines or boxes.

Read the full principle

Bank to ~45° for Slope Perception

William Cleveland, 1988 · The Shape Parameter of a Two-Variable Graph

The eye reads change in a line chart by judging slope. When most segments hover near 0° (too wide) or 90° (too tall), trends become hard to compare. Cleveland's banking rule says to choose an aspect ratio so the absolute slopes average around 45° - the angle at which differences in slope are easiest to discriminate.

Read the full principle

Integrity

Graphical Integrity

Edward Tufte, 1983 · The Visual Display of Quantitative Information

The visual representation of numbers must be directly proportional to the quantities represented. Tufte's Lie Factor measures this: the size of the effect shown in the graphic divided by the size of the effect in the data. A lie factor of 1.0 is honest. Anything else distorts.

Read the full principle

Zero Baselines

Stephen Few, 2012 · Show Me the Numbers

Bar charts and area charts must start at zero. Without a zero baseline, a 2% change can look like a 200% change. Line charts are exempt because they encode rate of change via slope, not magnitude via area.

Read the full principle

Dual Y-Axes Only When Causally Linked

Few, 2012; Munzner, 2014 · Visualization Analysis & Design

A dual Y-axis can read cleanly when the two metrics are causally related and on different units (temperature vs. ice cream sales, ad spend vs. signups). It misleads when the axes are scaled to make unrelated lines appear to track each other - any pair of trending series can be made to look correlated with the right scaling. Default to two stacked charts or an indexed-to-100 view when in doubt.

Read the full principle

Design

Data-Ink Ratio

Edward Tufte, 1983 · The Visual Display of Quantitative Information

Maximize the share of ink devoted to data. Minimize gridlines, borders, backgrounds, and decoration. Ask of every element: does this help the reader understand the data? If not, remove it or reduce it.

Erase non-data-ink, within reason.
Read the full principle

Small Multiples

Edward Tufte, 1990 · Envisioning Information

Repeat the same chart structure with different data across a grid. The consistent format lets the eye compare shapes and patterns instantly without learning a new layout for each panel.

The best design solution for a wide range of problems.
Read the full principle

Chart-Question Fit

Heer & Bostock, 2010 · Crowdsourcing Graphical Perception

'How much?' → bar. 'When did it change?' → line. 'What share?' → treemap. 'How does it flow?' → Sankey. 'Who's winning?' → bump chart. The chart type should be chosen by the analytical question, not the data shape.

Read the full principle

Sort by Value, Not Alphabet

Cleveland, 1985; Few, 2012 · Show Me the Numbers

On a categorical axis the eye reads ranking before it reads labels. Alphabetical order forces the reader to scan every bar to find the biggest; value-sorted order makes the ranking visible instantly. Reserve alphabetical when the user genuinely needs to look up by name (e.g. a state directory).

Read the full principle

Direct Labels Beat Legends

Heer & Bostock, 2010 · Crowdsourcing Graphical Perception

Legends force the reader to look away from the data, decode a color, then look back - cognitive overhead that compounds with every glance. Whenever the chart has fewer than ~7 series, place the label directly next to its line, slice, or bar. Reserve legends for when direct labeling would create overlap.

Read the full principle

Title Is the Finding, Not the Description

Alberto Cairo, 2016 · The Truthful Art

"Revenue by Quarter" describes the chart; "Revenue grew 31% in Q3, led by Enterprise" describes the finding. Newspaper-style headlines that name the takeaway help readers anchor before they decode - and force the author to actually have a point. If you can't write the headline, the chart probably isn't telling a story yet.

Read the full principle

Color

Perceptually Uniform Colormaps

Cynthia Brewer, 1994 · ColorBrewer · Adopted by matplotlib, D3, Tableau

Rainbow colormaps create visual boundaries where none exist in the data because human color perception is non-linear. Use sequential scales (viridis, inferno) for ordered data and diverging scales for data with a meaningful midpoint. Never use rainbow.

Read the full principle

Color for Categories, Not Quantities

Tamara Munzner, 2014 · Visualization Analysis & Design

Hue is effective for distinguishing 5-8 categories but terrible for encoding magnitude. For quantities, use position or length. When color must encode a value, use luminance (light-to-dark) on a single hue, not multiple hues.

Read the full principle

Use Color-Blind Safe Palettes

Brewer, 1994 · ColorBrewer · Okabe & Ito, 2008

Roughly 8% of men and 0.5% of women have some form of color vision deficiency, most commonly red-green. Pick palettes that remain distinguishable in CVD simulators (ColorBrewer, Okabe-Ito, viridis). Pair color with a second channel - shape, position, label - whenever the distinction matters.

Read the full principle

Context

Above All Else, Show the Data

Edward Tufte, 1983 · Opening principle of VDQI

Every editorial and design decision should serve comprehension of the underlying data. Annotations, labels, and context should be placed directly on the graphic. If a reader needs to look at a legend, then cross-reference back to the chart, you've added unnecessary cognitive work.

Read the full principle

Never Quote Data Out of Context

Edward Tufte, 1983 · Principle #6 of Graphical Integrity

Cherry-picking a timeframe, omitting comparison groups, or showing a metric without its base rate can completely reverse the conclusion a reader draws. Every graphic should include enough context for the reader to form their own interpretation.

Read the full principle

References.