AP STATISTICS • EXPLORING ONE-VARIABLE DATA

Graphical Representations of Summary Statistics

Translating numerical summaries into visual displays that reveal center, spread, and shape at a glance.

Historical Context & Motivation

Long before digital dashboards and statistical software, researchers wrestled with the problem of communicating large amounts of numerical data in a form that human perception could rapidly comprehend. Raw tables of numbers — means, medians, quartiles, standard deviations — provided precise numerical answers, but they lacked the capacity to convey distributional shape, identify outliers, or compare groups at a glance. The drive to represent summary statistics graphically grew out of this tension between precision and perception, and it has shaped the practice of exploratory data analysis ever since.

1786
Playfair's Bar and Line Charts
William Playfair published The Commercial and Political Atlas, introducing bar charts and line graphs to represent economic data — among the first systematic uses of graphical displays for quantitative summaries.
1900
Karl Pearson's Histograms
Karl Pearson formalized the histogram as a tool to display frequency distributions, enabling analysts to see center, spread, and skewness in a single image.
1977
Tukey's Exploratory Data Analysis
John Tukey published Exploratory Data Analysis, introducing the boxplot (box-and-whisker plot) and stem-and-leaf display — graphical tools built directly from summary statistics like the five-number summary.
1999
AP Statistics Curriculum Established
The College Board's AP Statistics course formalized the expectation that students not only compute summary statistics but also represent them graphically and interpret those representations in context.

The central question this lesson addresses is: how do we take numerical summaries — the mean, median, quartiles, range, interquartile range, and standard deviation — and embed them in visual displays that communicate distributional characteristics efficiently and accurately? Mastering this skill is essential because the AP Statistics exam frequently asks you to construct, interpret, and compare graphical displays, and to connect what you see in a graph to the underlying numerical summaries.

Core Principles & Definitions

Before constructing any graphical representation, it is essential to understand the summary statistics that underpin the displays. A summary statistic is a single number that captures one aspect of a distribution — its center, its variability, or its position within a dataset. Graphical representations map these numbers onto visual elements such as position, length, area, and spacing, enabling the viewer to perceive distributional features that raw numbers cannot convey as readily.

1

Measures of Center

The mean (arithmetic average) and median (middle value of ordered data) describe where the 'typical' value lies. On a graph, these are represented as marked positions along the number line or within a display.
2

Measures of Spread

The range, interquartile range (IQR), and standard deviation quantify how much observations vary. Graphically, spread translates to the width or extent of a display.
3

Five-Number Summary

The minimum, first quartile (Q₁), median (Q₂), third quartile (Q₃), and maximum together form the five-number summary — the foundation of the boxplot.
4

Shape Descriptors

Symmetry, skewness (left or right), modality (unimodal, bimodal), and the presence of outliers describe the overall form of the distribution and are visible only through graphical displays.
KEY TAKEAWAY
Think of summary statistics as the coordinates of a building, and graphical displays as the architectural blueprint. The coordinates (numbers) are precise and essential, but the blueprint (graph) lets you see whether the structure is balanced, lopsided, or has unusual features — information that a list of coordinates alone cannot convey. Each graphical tool is designed to make certain summary statistics visually salient.

Visual Explanation — The Boxplot

The boxplot (also called a box-and-whisker plot) is the most direct graphical representation of summary statistics, encoding the entire five-number summary and identifying potential outliers in a single compact display. The diagram below shows a horizontal boxplot for the dataset: 12, 15, 18, 20, 22, 24, 25, 27, 30, 35, 48. The five-number summary is: Min = 12, Q₁ = 18, Median = 24, Q₃ = 30, Max = 48. Using the 1.5 × IQR rule, 48 is flagged as an outlier because it exceeds Q₃ + 1.5 × IQR = 30 + 1.5(12) = 48, which is right at the boundary — for pedagogical clarity, we treat it as an outlier in this example.

A horizontal boxplot showing the five-number summary. The cyan line marks the median; the violet box spans Q₁ to Q₃ (the IQR); whiskers extend to the most extreme non-outlier values; and the red circle denotes an outlier beyond 1.5 × IQR from the nearest quartile.

Notice how each structural element of the boxplot maps directly onto a summary statistic. The left edge of the box is Q₁, the right edge is Q₃, and the width of the box encodes the IQR — the spread of the middle 50% of the data. The whiskers extend outward to the smallest and largest observations that fall within 1.5 × IQR of the quartiles, while any point beyond that threshold appears as an individually plotted marker. This construction means that a boxplot allows immediate comparison of center (median position), spread (box width and whisker length), and symmetry (relative lengths of the two halves of the box and whiskers), making it one of the most information-dense single-variable displays available.

Mathematical Framework

Constructing graphical representations of summary statistics requires computing the statistics themselves. Here we formalize the key formulas that feed directly into boxplots, dotplots with marked statistics, and other displays. A solid grasp of these calculations ensures you can both construct graphs by hand and verify calculator output on the AP exam.

SAMPLE MEAN
x̄ = (1/n) × Σxᵢ for i = 1, 2, …, n
where is the sample mean, n is the number of observations, and xᵢ represents each individual data value. The mean is the balance point of the distribution and is sensitive to outliers.
INTERQUARTILE RANGE
IQR = Q₃ − Q₁
where Q₁ is the 25th percentile and Q₃ is the 75th percentile. The IQR measures the spread of the central 50% of data and defines the width of the box in a boxplot.
OUTLIER BOUNDARIES
Lower fence = Q₁ − 1.5 × IQR Upper fence = Q₃ + 1.5 × IQR
Any observation below the lower fence or above the upper fence is classified as a potential outlier and plotted individually beyond the whiskers of a boxplot.
SAMPLE STANDARD DEVIATION
s = √[ Σ(xᵢ − x̄)² / (n − 1) ]
The standard deviation s measures the typical distance of observations from the mean. While not directly encoded in a boxplot, it governs the spread visible in dotplots and histograms, and is central to the interpretation of distributions described by mean ± s.

When you construct a boxplot, you first compute the five-number summary (Min, Q₁, Median, Q₃, Max), then calculate the fences to determine where whiskers terminate and which observations are outliers. For displays such as dotplots with annotated summary statistics, you additionally compute x̄ and s to mark on the number line. The key insight is that every visual element in a well-constructed statistical graph corresponds to a specific computed quantity — there is no guesswork.

Detailed Breakdown of Display Types

Although the boxplot is the most explicit graphical representation of summary statistics, several other displays encode or reveal summary statistics in different ways. Understanding the strengths and limitations of each display type is critical for selecting the right tool in an AP Statistics free-response question and for interpreting computer output correctly.

Two displays of the same dataset. The dotplot preserves individual values and annotates center with marked lines for mean and median, while the histogram reveals distributional shape through bar heights but obscures individual data points.
Common graphical displays and the summary statistics they encode or reveal
Display TypeSummary Statistics ShownBest Used When
BoxplotMin, Q₁, Median, Q₃, Max, outliers (via 1.5 × IQR rule)Comparing distributions across groups; identifying outliers and skewness
DotplotIndividual values; can annotate mean, median, and spread on the axisSmall datasets (n < 30); showing every observation with summary annotations
HistogramShape (symmetry, skewness, modality); approximate center and spread from bar patternsLarger datasets; assessing distributional shape before choosing summary statistics
Stem-and-Leaf PlotExact values; shape; allows quick computation of median and quartilesSmall to moderate datasets where preserving individual values matters; back-to-back comparisons

When choosing a display on the AP exam, consider what the question asks you to communicate. If you need to compare the medians and spreads of two or more groups, side-by-side boxplots are the most efficient choice. If the question asks about the shape of a single distribution or whether the data are approximately normal, a histogram or stemplot is more informative because boxplots cannot reveal bimodality or gaps. Dotplots are ideal when you want to show individual values alongside annotated summary measures for small samples.

Worked Example

A researcher records the number of hours per week that 15 college students spend studying. The ordered dataset is: 4, 6, 8, 10, 12, 14, 15, 16, 18, 20, 22, 24, 28, 32, 45. Construct a modified boxplot and describe the distribution.

Constructing a Modified Boxplot
1
Step 1 — Compute the Five-Number SummaryWith n = 15 observations, the median is the 8th value: Median = 16. The lower half consists of the first 7 values (4, 6, 8, 10, 12, 14, 15), so Q₁ is the 4th value: Q₁ = 10. The upper half consists of the last 7 values (18, 20, 22, 24, 28, 32, 45), so Q₃ is the 4th value from that group: Q₃ = 24. Min = 4, Max = 45.
Five-Number Summary: 4, 10, 16, 24, 45
2
Step 2 — Compute the IQR and FencesIQR = Q₃ − Q₁ = 24 − 10 = 14. The lower fence is Q₁ − 1.5 × IQR = 10 − 21 = −11. The upper fence is Q₃ + 1.5 × IQR = 24 + 21 = 45.
IQR = 14; Lower fence = −11; Upper fence = 45
3
Step 3 — Identify OutliersCheck each observation against the fences. No observation falls below −11, and the maximum value of 45 is exactly at the upper fence. Since observations must exceed (not equal) the fence to be classified as outliers under the standard convention, 45 is not an outlier in this dataset. All observations lie within the fences.
No outliers identified
4
Step 4 — Draw the BoxplotDraw a number line from 0 to 50. Place the left edge of the box at Q₁ = 10 and the right edge at Q₃ = 24. Draw a vertical line inside the box at the median = 16. Extend the lower whisker from Q₁ left to the minimum value of 4, and extend the upper whisker from Q₃ right to the maximum value of 45 (the largest non-outlier value).
Boxplot: whisker 4–10 | box 10–24 with median at 16 | whisker 24–45
5
Step 5 — Describe the DistributionThe distribution of weekly study hours is skewed right because the upper whisker (from 24 to 45, length 21) is substantially longer than the lower whisker (from 4 to 10, length 6), and the median (16) is closer to Q₁ than to Q₃. The center is approximately 16 hours, and the IQR of 14 hours indicates moderate variability. The right skew suggests that a few students study substantially more than the typical student.
Right-skewed, center ≈ 16 hours, IQR = 14 hours, no outliers

Strengths, Limitations, and Comparisons

Each graphical representation of summary statistics involves trade-offs. No single display communicates every aspect of a distribution perfectly, and recognizing the strengths and limitations of each display is a recurring theme on the AP exam. The table below synthesizes the key advantages and drawbacks of the most common graphical displays you will encounter.

Strengths and limitations of common graphical displays for summary statistics
DisplayStrengthsLimitations
BoxplotConcisely displays five-number summary; excellent for side-by-side group comparisons; identifies outliers automatically via the 1.5 × IQR ruleCannot reveal bimodality, gaps, or clusters within the distribution; does not show the mean or standard deviation; obscures sample size
HistogramReveals distributional shape including modality, gaps, and clusters; handles large datasets well; allows visual estimation of center and spreadBin width choice affects appearance; does not display exact values; comparing multiple groups requires separate panels
DotplotShows every individual observation; intuitive for small datasets; easy to annotate with mean, median, and spread markersBecomes cluttered with large datasets; repeated values require stacking that can be hard to read
StemplotPreserves exact data values while showing shape; back-to-back version allows direct two-group comparison; easy to compute summary statistics directly from the displayImpractical for large datasets or data with many decimal places; difficult to construct for non-numeric or very spread-out data
KEY TAKEAWAY
Choosing a graphical display is analogous to selecting the right diagnostic tool in medicine: an X-ray (boxplot) gives a quick structural overview, while an MRI (histogram) reveals internal detail. A blood pressure reading (numerical summary alone) tells you a number, but the imaging (graph) shows where and why. On the AP exam, always match the display to what the question asks you to communicate.

Connection to Advanced Theory

The graphical tools covered in this lesson form the foundation of exploratory data analysis (EDA), which serves as the essential preliminary step before any formal inference. When you move into later units of AP Statistics — particularly those dealing with confidence intervals and hypothesis tests — the habit of first graphing your data becomes critical for verifying assumptions such as approximate normality, checking for outliers that may invalidate certain procedures, and assessing whether the mean or median is a more appropriate measure of center.

How graphical EDA connects to inference procedures in later AP Statistics units
This Lesson (EDA)Advanced Application
Boxplot reveals skewness and outliersInforms choice between t-procedures (mean-based) vs. non-parametric methods (median-based) for inference
Histogram assesses approximate normalityValidates the normality condition required for constructing confidence intervals and conducting z/t-tests
Side-by-side boxplots compare group distributionsMotivates two-sample t-tests and ANOVA by visualizing whether group centers appear significantly different
Mean vs. median comparison indicates skewnessGuides the choice of resistant vs. non-resistant summary statistics in regression diagnostics and residual analysis

Beyond the AP course, the ideas in this lesson extend into advanced statistical visualization methods such as violin plots (which combine boxplots with kernel density estimates), quantile-quantile plots (which compare observed quantiles against theoretical distributions), and interactive dashboards used in data science. The core principle remains the same: every visual element should correspond to a meaningful statistical quantity, and the viewer should be able to read summary statistics directly from the graph without ambiguity.

Practice Problems

1
A boxplot of test scores shows that the median line is very close to Q₁, the upper whisker is much longer than the lower whisker, and there are two individually plotted points above the upper whisker. Which of the following best describes this distribution?
2
Consider the dataset: 3, 7, 8, 12, 14, 18, 21, 25, 30. What is the IQR, and what are the outlier fences for a modified boxplot?
3
Two classes took the same exam. Class A's boxplot shows: Min = 55, Q₁ = 68, Median = 75, Q₃ = 82, Max = 95. Class B's boxplot shows: lower whisker endpoint = 40, Q₁ = 60, Median = 74, Q₃ = 88, Max = 98, with an outlier at 32. Which of the following comparisons is best supported by the boxplots?
PROBLEM 4APPLIED
A pharmaceutical researcher collects the following data on patient recovery times (in days) for a new treatment: 5, 7, 8, 9, 10, 10, 11, 12, 13, 14, 15, 17, 22, 28, 42. (a) Calculate the five-number summary and determine whether any outliers exist using the 1.5 × IQR rule. (b) Construct a modified boxplot based on your calculations. Clearly label all components. (c) The researcher's colleague argues that a histogram would be more appropriate than a boxplot for this dataset. Provide one reason supporting the colleague's argument and one reason supporting the use of a boxplot.
PROBLEM 5CRITICAL THINKING
Consider two datasets: Dataset X: 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 50, 50, 50, 50, 50, 50, 50, 50 Dataset Y: 10, 15, 18, 20, 22, 24, 26, 28, 30, 30, 30, 32, 34, 36, 38, 40, 42, 45, 48, 50 (a) Both datasets have the same minimum (10) and maximum (50), and similar medians. Explain why their boxplots could look similar despite the datasets having fundamentally different distributions. (b) Describe what feature of Dataset X's distribution would be completely hidden by a boxplot, and explain which alternative graphical display would reveal this feature. (c) Calculate the mean and standard deviation for Dataset X. Explain why these summary statistics, if displayed graphically (for example, by marking the mean and the interval from the mean minus one standard deviation to the mean plus one standard deviation on a dotplot of the data), would provide additional insight that the boxplot misses. (d) A student claims: "Since boxplots show the five-number summary, they always tell you everything important about a distribution." Evaluate this claim with reference to Datasets X and Y.

Lesson Summary

Graphical representations of summary statistics transform numerical measures into visual displays that communicate distributional characteristics at a glance. The boxplot encodes the five-number summary (Min, Q₁, Median, Q₃, Max) and identifies outliers using the 1.5 × IQR rule, making it the most direct link between numerical summaries and visual form. Histograms reveal distributional shape — including modality and gaps — while dotplots preserve individual observations and can be annotated with mean and standard deviation markers.

When describing any distribution graphically, always address shape (symmetric, skewed left/right, unimodal/bimodal), center (mean or median), spread (IQR, standard deviation, or range), and unusual features (outliers, gaps, clusters) — and always interpret these in context. No single display reveals everything; the AP exam rewards students who can justify their choice of display and articulate what it shows and what it hides.

Varsity Tutors • AP Statistics • Graphical Representations of Summary Statistics