Graphical Summaries
Graphical summaries are visual displays — histograms, boxplots, scatterplots, bar charts, and more — that condense a dataset into a picture revealing its shape, center, spread, and unusual features. Key result in words: a well-chosen graph communicates the structure of data faster and more honestly than a table of raw numbers. Where it applies: descriptive statistics, exploratory data analysis, science reporting, journalism, business dashboards. Who/when: developed from William Playfair (1780s) through John Tukey's Exploratory Data Analysis (1977).
A dataset is a long list of numbers or labels that overwhelms working memory. A graphical summary maps quantities onto visual attributes — position, length, area, angle — that the visual system processes pre-attentively. The art lies in choosing a graph whose visual encoding faithfully preserves the feature you care about, while never distorting it.
Formal Statement
Graphical summaries depend on the measurement scale of the variable being displayed:
- Categorical (qualitative) — values are labels in distinct groups (e.g., eye colour, blood type). Sub-types: nominal (no order) and ordinal (ordered, e.g., grades A–F).
- Quantitative (numerical) — values are measured amounts. Sub-types: discrete (counts) and continuous (measurements on a scale).
The data type dictates which graphs are valid.
For a categorical variable or a binned quantitative variable, define for each class :
Derivation hint: simply tally how many data points fall in each category or bin.
Derivation hint: divide each count by the total number of observations ; the sum to 1. For a histogram with bin width , the density (used when bins have unequal widths) is:
Derivation hint: so that <strong>area</strong> equals relative frequency — the bar's area, not height, represents proportion.
A boxplot is built from five order statistics of a sorted dataset :
Derivation hint: the median splits the data in half; and are the medians of the lower and upper halves respectively. The interquartile range measures spread of the middle 50%:
Derivation hint: subtract the first quartile from the third; it is resistant to outliers.
An observation is flagged as a potential outlier in a boxplot if it lies beyond the fences:
Derivation hint: Tukey chose the multiplier 1.5 empirically; for a normal distribution roughly 0.7% of data fall outside these fences, making true outliers conspicuous.
Why It Holds / Derivation
We justify equation [3], that histogram bars should be drawn so area equals relative frequency. 1. We want the total area of all bars to equal 1, so that the histogram approximates a probability distribution. 2. The area of bar is height width . 3. We require . 4. Set (the relative frequency of bin ). Then by equation [2]. ✓ 5. Solving for height gives , which is equation [3]. 6. Consequence: if all bins have equal width , then height , so plotting raw counts or frequencies is fine. But with unequal widths, plotting frequency as height distorts the picture — a wide bin looks falsely dominant. Always use density.
∎An American mathematician and statistician at Princeton and Bell Labs, Tukey reshaped how data is explored. In his 1977 book Exploratory Data Analysis he invented the boxplot (box-and-whisker diagram) and the stem-and-leaf plot, championing the idea that one should look at data before fitting models. He coined the words "bit" and "software." His philosophy — let the data suggest hypotheses rather than only test them — underpins modern data science and the very notion of a graphical summary.
Building Intuition
Think of a dataset as a crowd of people in a stadium. A table is like reading every ticket stub one by one — accurate but unmanageable. A histogram is like flying overhead: you instantly see where the crowd is dense (the peak), how spread out they are, and whether anyone is sitting far off alone (an outlier). A boxplot is a stripped-down aerial view showing only the central 50% (the box), the typical range (whiskers), and the loners (dots). A scatterplot seats two crowds on perpendicular axes so you can spot whether tall people also tend to be heavy — an association. The right graph turns invisible structure into something your eye catches in a fraction of a second.
```svg
```
Worked Examples
Given: test scores of 11 students:
(already sorted, ).
Steps: 1. Median (): with , the median is the 6th value . 2. Lower half (below the median): — five values. Its median is the 3rd . 3. Upper half: . Its median is the 3rd . 4. Min , Max . 5. IQR (equation [5]). 6. Fences (equation [6]): lower ; upper . No value lies outside , so no outliers.
Answer:
Given: ages of 100 visitors grouped into uneven bins:
| Age range | Count | Width |
|---|---|---|
| 0–10 | 20 | 10 |
| 10–20 | 30 | 10 |
| 20–40 | 40 | 20 |
| 40–80 | 10 | 40 |
.
Steps: compute density (equation [3]) for correct bar heights: 1. 0–10: 2. 10–20: 3. 20–40: 4. 40–80:
Note the trap: the 20–40 bin has the highest count (40) but the same density as the 0–10 bin. Plotting raw counts would make 20–40 look tallest and most dominant; the density view shows it is no more concentrated than the youngest group.
Answer:
Each bar's area equals its relative frequency (0.20, 0.30, 0.40, 0.10), summing to 1.
Common Misconceptions
A boxplot does not show shape or modality. Two datasets — one symmetric and unimodal, one bimodal (two peaks) — can produce identical boxplots, because a boxplot only records five summary numbers and hides the density between them. Always pair a boxplot with a histogram or dotplot if shape matters. Likewise, a longer whisker does not mean more data — it merely means the extreme values reach farther; the box, not the whiskers, holds the central 50%.
Truncated and manipulated axes lie. Starting a bar chart's vertical axis at a value other than zero exaggerates differences; a 2% change can be made to look like a doubling. Bar charts must begin at zero. (Line graphs of time series may use a non-zero baseline, since they emphasize change, not magnitude — but this must be clearly labelled.)
In 1973 statistician Francis Anscombe constructed four datasets, each with eleven points, that share — to two decimal places — the same mean of (9.0), mean of (7.5), variance, correlation (), and regression line (). Yet when plotted:
- Set I is a noisy linear cloud (the "honest" case);
- Set II is a perfect curve (relationship is non-linear, not linear);
- Set III is perfectly linear except for one outlier dragging the line;
- Set IV has all identical except one influential point.
Identical numerical summaries; four completely different stories. The lesson: always plot your data. Numbers alone can be summarized into agreement while concealing the truth.
Connections
Graphical summaries sit at the heart of Descriptive Statistics, turning the numerical Measures of Central Tendency (mean, median, mode) and Measures of Spread (range, IQR, standard deviation) into pictures. Histograms are empirical estimates of an underlying Probability Distribution, and a smooth, bell-shaped histogram hints at the Normal Distribution. Scatterplots are the visual face of Correlation and Linear Regression, where the strength of a linear pattern is quantified by the correlation coefficient . The boxplot's resistance to outliers connects to the broader idea of Robust Statistics.
Real-World Applications
Historical Development
Subtleties & Limits
The choice of bin width for a histogram has no universally correct answer — too narrow and the picture is noisy spikes; too wide and real structure is smoothed away. Rules like Sturges' formula ( bins) and the Freedman–Diaconis rule (width ) give guidelines, but the "best" binning remains partly subjective and dataset-dependent. More deeply, how to honestly visualize high-dimensional data (many variables at once) is still an active research frontier; techniques like parallel coordinates, t-SNE, and UMAP attempt it, but each distorts some relationships while preserving others — there is no perfect projection of many dimensions onto a flat page.
See Also
Descriptive Statistics · Histograms · Boxplots · Scatterplots · Anscombe's Quartet · Edward Tufte · Five-Number Summary · Exploratory Data Analysis · Bar Charts and Pie Charts