From the free course AP Statistics on Lykke

1.5 Graphical Representations for One Quantitative Variable

Key concepts: Dotplot — one dot per observation, stacked at repeated values · Stem-and-leaf plot — stem and leaf keep every original value readable · Histogram — ordered bins, bar height gives the count in each interval · Bin width is a choice that changes the picture, not the data · Bars touch for quantitative intervals, unlike a categorical bar chart · All three displays preserve the natural ordering of the values

Raw data is often a chaotic list of values that obscures the underlying story. To uncover the "shape" of a dataset—where values cluster, how far they stretch, and whether they are symmetric or lopsided—we must translate numbers into space.

Raw data is often a chaotic list of values that obscures the underlying story. To uncover the "shape" of a dataset—where values cluster, how far they stretch, and whether they are symmetric or lopsided—we must translate numbers into space. For a single quantitative variable, three primary displays serve as the standard toolkit: dotplots, stemplots, and histograms. Each offers a different balance between precision and bird's-eye perspective.

The Dotplot: Precision in Simplicity

A dotplot is the most direct way to visualize a small quantitative dataset. It consists of a horizontal number line with a single dot placed above the corresponding value for every observation in the data. When multiple observations share the same value, the dots are stacked vertically.

Definition: A dotplot represents each data point as a dot positioned along a scaled axis. It is ideal for small datasets where maintaining the identity of every individual value is important.

Feature Requirement
Axis Must be a single, consistently scaled horizontal number line.
Labels The axis must be labeled with the variable name and units.
Dots Each dot represents one observation; stacks show frequency.

The Stemplot: Preserving the Raw Data

A stemplot (or stem-and-leaf plot) organizes data by splitting each value into two parts: a stem (the leading digit or digits) and a leaf (the final significant digit). This display is unique because it creates a visual "bar" of data while still allowing the reader to see every original numerical value.

Construction Rules for Stemplots

  1. Separate the digits: Usually, the leaf is the very last digit (e.g., in the number 42, the stem is 4 and the leaf is 2).
  2. Vertical Stem: Write the stems in a vertical column from smallest to largest, drawing a vertical line to their right.
  3. Leaves: Write each leaf to the right of its corresponding stem in increasing order.
  4. The Key: You must include a key that explains what the stem and leaf represent (e.g., 4 | 2 represents 42 minutes).

Misconception Check: A common error is skipping "empty" stems. If your data has values in the 20s and 40s but none in the 30s, you must still include the stem 3 to show the gap in the distribution.

The Histogram: Grouping for Scale

When datasets grow large, individual dots or leaves become overwhelming. A histogram solves this by grouping values into adjacent intervals of equal width, called bins or classes. The height of each bar represents the frequency (count) or relative frequency (proportion) of observations falling within that interval.

Unlike a bar chart, the horizontal axis of a histogram is a continuous number line. Therefore, the bars in a histogram must touch, signaling that the variable is quantitative and continuous.

Choosing the Right Representation (Skill 3.A)

Selecting a display is a strategic decision based on the size of the dataset and the level of detail required.

Display Type Best Used When... Advantage Disadvantage
Dotplot $n < 25$ Extremely easy to construct and read. Becomes cluttered with large $n$.
Stemplot $25 < n < 100$ Preserves actual data values. Hard to manage with very large $n$ or high precision.
Histogram $n > 100$ Excellent for seeing "shape" in large data. Hides individual data values; shape can change with bin width.

Contextual Example: Commute Times

Imagine an HR manager at a tech startup collects the commute times (in minutes) for 15 employees: 12, 15, 15, 18, 22, 25, 25, 25, 30, 32, 35, 40, 45, 50, 60.

  • Dotplot: 15 dots would be placed on a line from 10 to 60. You would see a stack of three dots at the 25-minute mark.
  • Stemplot:
    • 1 | 2 5 5 8
    • 2 | 2 5 5 5
    • 3 | 0 2 5
    • 4 | 0 5
    • 5 | 0
    • 6 | 0
    • Key: 1 | 2 = 12 minutes
  • Histogram: If we used bin widths of 10 (0-10, 10-20, etc.), the first bar (10 to <20) would have a height of 4.

Misconception: Histograms vs. Bar Charts

A bar chart represents categorical data; the bars have gaps between them because the categories (like "Red" or "Blue") have no inherent numerical order. A histogram represents quantitative data; the bars touch because they represent a continuous range of values. If you leave gaps between bars in a histogram, you are incorrectly implying that those intermediate values are impossible.


Interpretation Check: A researcher is studying the number of hours of sleep 200 college students got last night. Which graphical display would be most appropriate to quickly identify the overall shape of the distribution without cluttering the page with 200 individual marks?

Select one: Dotplot, Stemplot, or Histogram? (Answer: Histogram. With $n=200$, a dotplot or stemplot would be too dense to interpret quickly, whereas a histogram efficiently aggregates the data into readable bins.)

1.5 Graphical Representations for One Quantitative Variable - AP Statistics - image 1
1.5 Graphical Representations for One Quantitative Variable - AP Statistics - image 1
1.5 Graphical Representations for One Quantitative Variable - AP Statistics - diagram 1
1.5 Graphical Representations for One Quantitative Variable - AP Statistics - diagram 1

Source Materials

Study AP Statistics on Lykke

This course page is free to open: signed out, you can read its first two sections, and signing in, on any plan, opens the rest. The free Lykke Chrome extension syncs your own Canvas courses, so ChatGPT, Claude and Muse can answer from your classes and deadlines. It only reads Canvas.

Add the free extensionSign in to open every section

All sections of AP Statistics · Browse more course pages