This course has been archived. The College Board updated AP Statistics for the 2026–27 school year, and the units and topics changed.
Go to the new AP® Statistics
6m left·0%
Reading Time: 6 min
Last Updated: January 30, 2026
Main Ideas: 4
Reading Time: 6 min
Last Updated: January 30, 2026
Main Ideas: 4

Topic 1.5 Notes – Representing a Quantitative Variable with Graphs

Read aloud
You’ll decide whether a variable is discrete or continuous, then choose an appropriate display. Every graph is meant to reveal the distribution - how the values are spread out.

1. Discrete vs Continuous Variables

You already know a quantitative variable is numerical. Now we split that into two types.

Discrete variables

A discrete variable takes on a countable number of values. The number of possible values might be finite (0-10 pets) or countably infinite (0, 1, 2, 3, …).

  • Comes from counting
  • Has gaps between possible values
  • Examples:
    • Number of students in a class
    • Number of cars in a parking lot
    • Number of goals scored in a game

You can’t have 4.6 students. Whole numbers only.

Continuous variables

A continuous variable can take on infinitely many values within an interval. Between any two values, there’s always another possible value.

  • Comes from measuring
  • No gaps in possible values
  • Examples:
    • Height of a child
    • Time to finish a race
    • Temperature outside

Even if a child’s height is recorded as 52 inches, the true height could be 52.3 or 52.37 inches.

This distinction matters because it affects how we graph the data.

2. The Main Graphs for Quantitative Data

All of these show the distribution of the variable.

Histogram

A histogram groups data into equal-width intervals (bins).

  • Height of each bar = frequency or proportion in that interval
  • Bars touch (unless there is an actual gap in the data)
  • Best for large datasets, especially continuous variables
  • Does not show individual values

Here’s a simple example using exam scores from 50 to 100:

Histogram of exam scores (equal-width bins)

Changing bin width can completely change how the graph looks. The AP loves showing two histograms of the same data with different bins and asking what changed. The data didn’t change. The grouping did.

Dotplot

A dotplot puts each observation as a dot on a number line.

  • Dots stack when values repeat
  • Great for small datasets
  • Preserves every data value
  • Makes clusters and outliers easy to see

Here is a dotplot showing the number of books read by a small group of students:

Dotplot of books read

Because every point is shown, this is ideal when you have around 50 or fewer observations.

Stem-and-Leaf Plot (Stemplot)

A stemplot splits each value into:

  • Stem = first digit(s)
  • Leaf = last digit

Example:

5 | 2 7 6 | 1 4 8 7 | 0 3 Key: 6 | 4 = 64

  • Leaves are listed in order
  • Always include a key
  • Preserves original data values

If you rotate it sideways, it looks like a histogram. That’s not a coincidence.

Cumulative Graph (Ogive)

An ogive shows the number or proportion less than or equal to a given value.

  • Always increasing
  • Used to estimate:
    • Median
    • Percentiles
    • Proportion below a cutoff

This ogive shows cumulative relative frequency for test scores:

Ogive of test scores

Unlike a histogram, an ogive does not show how many are in each bin. It shows how many are at or below a value. Students mix that up all the time.

Other representations

You might also see:

  • Relative frequency histograms
  • Frequency polygons (lines connecting midpoints of bins)
  • Technology-generated graphs

For AP purposes, focus on histogram, dotplot, stemplot, and ogive.

3. Choosing the Right Graph

Think about what you need to see.

  • Small dataset → Dotplot or stemplot (you keep individual values)
  • Large dataset → Histogram (clear overall shape)
  • Need cumulative information → Ogive

And one rule you cannot break:

Quantitative variable → Never use a bar graph.
Bar graphs are for categorical data.

If you’re asked to justify a choice, mention:

  • Type of variable (discrete or continuous)
  • Sample size
  • Whether individual values matter
  • Whether cumulative info is needed

4. What to Look for in Any Quantitative Graph

When describing a distribution, always include:

  • Shape (symmetric, skewed left/right, unimodal, bimodal)
  • Center (rough middle)
  • Spread (range or variability)
  • Outliers
  • Clusters or gaps

These features connect directly to mean, median, and standard deviation later in Unit 1.

Key Takeaways

A discrete variable has countable values; a continuous variable has infinitely many possible values within an interval.
In a histogram, bar height represents frequency or proportion in that interval, and changing bin width can change the shape.
A dotplot and stemplot preserve individual data values; a histogram does not.
An ogive shows the cumulative number or proportion less than or equal to a value, not the count in each bin.
Quantitative data should never be displayed with a bar graph.

AP® is a trademark registered by the College Board, which is not affiliated with, and does not endorse this website.

Notes

1 credit used · 5/5 remaining