Dotplot vs histogram vs stemplot: how to choose

By Jude Wallis · Published

Dotplots, histograms, and stemplots all show the distribution of one quantitative variable in order. A dotplot marks each value with a dot, a stemplot keeps the digits as stems and leaves, and a histogram groups values into bins. Which one to use mostly depends on how many values you have.

AP Statistics: Unit 1 (topics 1.5). Histograms, stem-and-leaf plots, and dotplots are the graphical representations for one quantitative variable in topic 1.5 of Unit 1 in the Fall 2026 AP Statistics course. All three keep the natural smallest-to-largest ordering of the variable.

Dotplot vs histogram vs stemplot: the short answer

All three graph the same thing: the distribution of one quantitative variable, a variable measured as a number. Each keeps the values in their natural order from smallest to largest, so all three let you read shape, center, and spread. What changes is how much of the raw data each keeps and how many values it handles well.

A dotplot shows every value as its own dot and is best for small data sets. A stemplot (stem-and-leaf plot) also keeps every value, storing its digits, and suits small-to-medium data sets. A histogram groups values into intervals and shows only the count in each, trading the individual values for the ability to handle large data sets. Match the graph to the size of the data and you will almost always pick the right one.

What a dotplot shows

A dotplot places one dot for each observation above its value on a number line, stacking dots when values are equal or nearly equal. Nothing is grouped, so you can count every observation and see each value directly.

That makes a dotplot ideal for small data sets and for spotting clusters, gaps, and outliers at a glance. Its limits appear as the data grow: with hundreds of values, or values spread across a wide range with few repeats, the stacks get tall or thin and the picture becomes hard to read. For small counts of a discrete quantity, such as the number of siblings each student has, a dotplot is often the clearest graph there is.

What a stemplot shows

A stemplot, or stem-and-leaf plot, splits each value into a stem (the leading digit or digits) and a leaf (usually the final digit). The stems run down the left in order, and each leaf is written beside its stem, also in order. A value of 82 with stems by tens becomes a stem of 8 and a leaf of 2.

The payoff is that a stemplot keeps every original value while also showing the shape, since the rows act like sideways bars. You can read the exact data back off it, find the median by counting leaves, and compare two groups with a back-to-back stemplot that shares one column of stems. It works well for small-to-medium data sets; with a very large data set the rows of leaves grow unwieldy, and a histogram becomes the better summary.

What a histogram shows

A histogram groups the values into equal-width intervals called bins along a number line and draws a bar over each bin whose height is the count, or proportion, of values in that interval. Because the axis is numeric, the bars touch and their order is fixed from smallest to largest.

The trade is deliberate: a histogram gives up the individual values and shows only how many fall in each bin, which is exactly what lets it summarize hundreds or thousands of observations cleanly. Changing the bin width changes the appearance, so the same data can look smooth with wide bins or spiky with narrow ones. A histogram is the standard graph for large quantitative data sets, and it is the one whose shape you read for skew, covered in skewed left versus skewed right.

The three side by side

FeatureDotplotStemplotHistogram
Data typeQuantitativeQuantitativeQuantitative
Keeps exact valuesYesYesNo, only bin counts
Best data sizeSmallSmall to mediumMedium to large
Each mark isOne value (a dot)One value (a leaf)A count in a bin
Compare two groupsSide by sideBack-to-backSide by side
Read shape, center, spreadYesYesYes

The deciding row is whether the graph keeps exact values. Dotplots and stemplots do, so they shine on small data; the histogram gives them up to handle large data.

When to use which

Let the size and nature of the data decide. For a small data set, especially a discrete count with repeats, use a dotplot, because every value shows and clusters and gaps stand out. For a small-to-medium data set where you want to keep the exact numbers, use a stemplot, which doubles as a table you can read values back from.

For a medium-to-large data set, use a histogram, because binning is what makes many values readable, even though you lose the individual numbers. To compare two groups, a back-to-back stemplot or two dotplots or histograms drawn on the same scale all work. You can drag values and watch a histogram reshape in the descriptive statistics sandbox to build a feel for how binning changes the picture.

The classic mix-up and how to avoid it

The frequent error is confusing a histogram with a bar graph, and reading exact values off a histogram that no longer holds them. A histogram's touching bars sit on a number line and show quantitative data, whereas a bar graph's separated bars show categories, a distinction drawn out in histogram versus bar graph. And once values are binned, a histogram can tell you that the median falls in the 80-to-90 interval but not that it is exactly 82.

Avoid both with two habits. First, check the horizontal axis: a number line means quantitative data and a histogram, dotplot, or stemplot; a list of category labels means a bar graph. Second, when a question needs an exact value such as the median or a specific data point, use a dotplot or stemplot, which keep the numbers, rather than a histogram, which keeps only bin counts.

The median from a stemplot versus a histogram

Fifteen quiz scores are 62, 65, 71, 73, 74, 78, 81, 82, 85, 88, 90, 91, 93, 95, 99. Build a stemplot with stems by tens and a histogram with bins of width 10, then find the median from each.

  1. Sort the data (already sorted) and confirm the count: there are 15 scores, so n=15n = 15.

  2. Build the stemplot with stems 6, 7, 8, 9. Stem 6 has leaves 2, 5; stem 7 has leaves 1, 3, 4, 8; stem 8 has leaves 1, 2, 5, 8; stem 9 has leaves 0, 1, 3, 5, 9.

  3. Check the leaf counts: 2+4+4+5=152 + 4 + 4 + 5 = 15, matching the 15 scores.

  4. Find the median position: with n=15n = 15, the median is the 15+12=8\frac{15+1}{2} = 8th value. Counting leaves in order, the first two are in the 60s and the next four in the 70s, so positions 7 and 8 are in the 80s. The 7th value is 81 and the 8th is 82, so the median read from the stemplot is exactly 82.

  5. Build the histogram with bins [60, 70), [70, 80), [80, 90), [90, 100). The bin counts are 2, 4, 4, 5, the same counts as the stemplot rows.

  6. Find the median from the histogram: the 8th value falls in the [80, 90) bin, since 6 values come before that bin, positions 7 through 10 sit inside it. The histogram tells you the median is between 80 and 90 but not its exact value.

  7. Compare: the stemplot pins the median to 82 because it kept the digits; the histogram locates it only to the 80-to-90 interval because it kept only the bin count.

Both graphs show the same rising-then-full shape with the tallest group in the 90s, but the median differs in precision: the stemplot gives it exactly as 82, while the histogram places it only in the [80, 90) bin. That is the trade, since the stemplot keeps every value and the histogram keeps only how many land in each bin.

Frequently asked questions

Which graph should I use for a large quantitative data set?

Use a histogram. Binning the values into intervals is what keeps hundreds or thousands of observations readable, whereas a dotplot's dots or a stemplot's leaves become unwieldy at that size. You give up the individual values, which a large summary rarely needs.

Can you read the exact data values from a histogram?

No. A histogram records only how many values fall in each bin, not the values themselves, so you can locate a value in an interval but not pin it exactly. A dotplot or stemplot keeps the individual values, so use one of those when exact numbers matter.

Is a stemplot the same as a histogram turned on its side?

They look similar, because a stemplot's rows act like sideways bars, but a stemplot keeps every digit while a histogram keeps only bin counts. That is why you can rebuild the data set from a stemplot but not from a histogram.