Shape is the only distinguishing feature
Color supplies an additional contrast
Size supplies an additional contrast
Enclosure supplies an additional contrast
1
A good visualization has a purpose.
2
It fulfills that purpose when it communicates the relevant patterns and insights in the data:
A Effectively
B Efficiently
C Truthfully
What viewers notice and judge
How viewers interpret and use it
| Region | Sales |
|---|---|
| North | 62 |
| South | 48 |
| West | 79 |
| East | 43 |
| Chart | Relationship emphasized | Question made easier |
|---|---|---|
| Slope chart | Change between Q1 and Q2 | Which region increased the most? |
| Grouped bars | Absolute revenue | Which region was largest in each quarter? |
| 100% stacked bars | Regional share of quarterly revenue | How did the composition change? |
Starts with purpose and data.
Data become positions, lengths, colors, shapes, connections, and text.
The display carries some relationships with greater precision than others.
Perceives groups and contrasts, reads scales, compares marks, and connects the result to a question.
Prior knowledge and attention affect the interpretation.
Campaign → point
Each campaign becomes one point.
Campaign spend → x-position
Spend determines horizontal position.
Attributed sales → y-position
Sales determine vertical position.
Marketing source → color
Color distinguishes source categories.
Geometric objects that represent data.
One row can become a point. A sequence can become a line. A region or accumulated quantity can become an area.
Properties of marks that vary with data.
| Data type and examples | Channel | Use | Visual encoding | Example charts |
|---|---|---|---|---|
| QuantitativeRevenue · price · temperature | Position | Precise magnitude and comparison on a common scale |
|
Scatter, dot, line |
| Length | Magnitude from a common baseline |
|
Bar, lollipop | |
| Area / size (less accurate) | Broad magnitude when exact lookup is secondary |
|
Bubble, pie chart | |
| Luminance / saturation (less accurate) | Broad quantitative ordering or spatial patterns |
|
Heatmap, choropleth | |
| Categorical (nominal)Region · product · segment | Hue | Category identity without order |
|
Colored scatter or map |
| Shape | Category identity or a redundant accessibility cue |
|
Scatter by category | |
| Position / grouping | Separate categories into distinct spatial groups |
|
Grouped bars, facets | |
| Categorical (ordinal)Rating · priority · education | Ordered position | Preserve the prescribed category sequence in rows or columns |
|
Ordered bar chart, Likert display |
| Luminance / saturation | Show low-to-high levels without implying precise distance |
|
Ordinal heatmap, severity matrix | |
| TemporalDate · month · quarter · time | Connection | Change across sequential observations |
|
Line, slope |
| Length | Duration between start and end |
|
Gantt, range plot |
Lower log error means more accurate judgments. The study finds systematic differences across graphical encodings.

Experimental results panel from Figure 4 in Heer and Bostock (2010). Points are mean log errors; bars are 95% confidence intervals.
Quantitative data record numerical magnitudes for which differences are meaningful – e.g., revenue, units sold, duration, and temperature.

x-position
Year
y-position
State or jurisdiction
color luminance and saturation
Number of reported cases
Color adds a third quantitative variable. It supports scanning for outbreaks and the decline after vaccination; it does not support precise case lookup.

Source: Gapminder Foundation, via Datylon, “A deep dive into… bubble charts”
Nominal data identify categories with no inherent order– e.g., region, product, marketing source.
Ordinal variables place categories in a meaningful sequence, but the differences between adjacent levels are not measured or assumed equal. Examples include education level, satisfaction, and priority.

| Data type and examples | Channel | Use | Visual encoding | Example charts |
|---|---|---|---|---|
| QuantitativeRevenue · price · temperature | Position | Precise magnitude and comparison on a common scale |
|
Scatter, dot, line |
| Length | Magnitude from a common baseline |
|
Bar, lollipop | |
| Area / size (less accurate) | Broad magnitude when exact lookup is secondary |
|
Bubble, pie chart | |
| Luminance / saturation (less accurate) | Broad quantitative ordering or spatial patterns |
|
Heatmap, choropleth | |
| Categorical (nominal)Region · product · segment | Hue | Category identity without order |
|
Colored scatter or map |
| Shape | Category identity or a redundant accessibility cue |
|
Scatter by category | |
| Position / grouping | Separate categories into distinct spatial groups |
|
Grouped bars, facets | |
| Categorical (ordinal)Rating · priority · education | Ordered position | Preserve the prescribed category sequence in rows or columns |
|
Ordered bar chart, Likert display |
| Luminance / saturation | Show low-to-high levels without implying precise distance |
|
Ordinal heatmap, severity matrix | |
| TemporalDate · month · quarter · time | Connection | Change across sequential observations |
|
Line, slope |
| Length | Duration between start and end |
|
Gantt, range plot |
Unnecessary: position and labels already identify each source; the legend adds lookup without supporting another comparison.
Useful: color preserves source identity across spatially separated quarter groups, making within-source comparisons easier.
Gestalt principles describe how viewers organize separate marks into larger structures.
| Principle | The viewer tends to treat marks as related when they… |
|---|---|
| Proximity | are close together |
| Similarity | share appearance |
| Enclosure | fall inside the same boundary |
| Connection | are linked directly |
| Continuity | form a smooth path or aligned edge |
| Closure | imply a familiar complete form |
| Figure-ground | differ in visual prominence from their context |
Definition: elements that are closer to one another are more likely to be perceived as belonging together.
Definition: elements that share color, shape, size, or orientation are likely to be read as members of the same category or series.
| Segment | Q1 | Q2 | Q3 | Q4 | Q5 | Q6 | Q7 | Q8 |
|---|---|---|---|---|---|---|---|---|
| Enterprise | 48 | 52 | 55 | 57 | 61 | 65 | 69 | 76 |
| Mid-market | 46 | 49 | 51 | 54 | 56 | 59 | 63 | 66 |
| SMB | 44 | 45 | 48 | 49 | 51 | 54 | 55 | 58 |
| Consumer | 52 | 51 | 53 | 55 | 54 | 57 | 59 | 61 |
Definition: elements inside the same bounded region are perceived as a group, even when the elements themselves look alike.
Definition: elements joined by a line or other connector are treated as parts of the same relationship or sequence.
Definition: viewers tend to follow a smooth path or aligned edge rather than perceive abrupt changes in direction.
Definition: when enough of a familiar boundary is visible, viewers mentally complete the missing parts.
Definition: viewers separate prominent elements as the figure while treating less prominent elements as background context.
| Cognitive resource | What the viewer must do | Design implication |
|---|---|---|
| Working memory | Retain a legend mapping or compare values that are far apart | Place labels near marks and align values on shared scales |
| Learned conventions | Interpret axes, reading direction, line connection, and familiar chart forms | Follow conventions unless departure serves a clear purpose |
| Prior knowledge | Supply domain meaning and expectations | State units, population, definitions, and analytical context |


Conventions reduce cognitive effort when they match the audience’s expectations. Their meanings can still vary across cultures and domains.
Cleveland, W. S., and McGill, R. (1984). “Graphical Perception: Theory, Experimentation, and Application to the Development of Graphical Methods.” Journal of the American Statistical Association, 79(387), 531-554. PDF
Few, S. Show Me the Numbers: Designing Tables and Graphs to Enlighten, Chapter 5. Local instructor reference.
Healy, K. Data Visualization: A Practical Introduction, Chapter 1, “Look at Data.” Chapter
Durham University. “Data Visualization, Lecture 3.” Lecture
The next lecture applies perception and task fit to common ways charts can create a misleading impression: