Graphical Representations for One Quantitative Variable
See how numerical values are distributed. Learn to construct dotplots, stem-and-leaf plots and histograms, choose clear scales, and check that every observation appears in the right place.
By the end of this lesson, you should be able to:
- Construct a dotplot with dot for each recorded observation.
- Construct an ordered stem-and-leaf plot with a clear key.
- Group quantitative values into nonoverlapping bins and draw a histogram.
- Explain what each display preserves and how bin width can change a histogram’s appearance.
Before you start: Know the difference between a numerical amount and a category label. Review Topic 1.2. Topic 1.4 helps you distinguish categorical bar charts from histograms.
First time learning this? Follow the travel-time data through the dotplot, stem-and-leaf plot and histogram construction steps.
Here to revise? Review the checklist, then try the practice questions before opening the answers.
The concept in 60 seconds
A quantitative graph keeps numerical values in their natural order. A -minute journey belongs to the left of a -minute journey on a horizontal time axis. The distance between positions must agree with the numerical scale.
Three ways to organize the same observations:
Dotplot: observation, dot.
Stem-and-leaf plot: split each recorded number into a stem and a leaf.
Histogram: group recorded numbers into intervals and count the observations in each interval.
Dotplots and stem-and-leaf plots can preserve individual recorded values. A histogram preserves the interval counts, but usually does not tell you every exact value inside an interval.
Before constructing any graph, identify what was measured, the units, and the number of observations. Then check that the finished graph accounts for that same number of observations.
How long did these students take to reach school?
Use Cedar High, the fictional school from the earlier lessons. For this lesson, use a new, small teaching sample of students. Each student records their one-way home-to-school travel time on the Tuesday being studied, rounded to the nearest minute.

Here are all recorded times, sorted from smallest to largest:
Travel time, minutes:
, , , , , , , , , ,
, , , , , , , , ,
The observational units are the sampled students. The quantitative variable is each student’s travel time. The sample size is . A travel duration is an underlying continuous measurement, even though these recorded values have been rounded to whole minutes.
Predict before reading on: How many dots should a dotplot have? How should the recorded -minute journeys appear?
Check your prediction
The plot should contain dots, one for each student. The three -minute observations form a stack of dots at . Repeated values are separate observations and must all be counted.
The data are invented for this lesson. This -student sample has its own total; use when calculating its relative frequencies.
Dotplot, stem-and-leaf plot or histogram?
Dotplot
Place each observation at its value on a numerical axis. Stack dots when observations share a plotted value.
Helpful for a small dataset when you want to see repeated values and individual observations.
Stem-and-leaf plot
Separate each recorded value into a stem and a leaf, then order both the stems and their leaves.
Helpful when you want an organized display that also lets you recover the recorded numbers.
Histogram
Divide a numerical scale into ordered intervals called bins. A bar shows the count or relative frequency inside each bin.
Helpful when there are many observations or many distinct numerical values.
Frequency and relative frequency
A frequency is a count. A relative frequency divides a count by the total number of observations in the stated group.
of the times are at least but less than minutes: , or .
| Display | What represents an observation? | Can you recover recorded values? |
|---|---|---|
| Dotplot | dot at its plotted value | Yes, if the scale and plotting precision identify the values clearly. |
| Stem-and-leaf plot | One leaf, interpreted with its stem and key | Yes, at the precision defined by the key. |
| Histogram | Its contribution to the count in one interval | Usually no; the interval counts are shown. |
Quantitative values cannot be rearranged like unordered category labels. Keep numerical positions and stems in increasing order. A histogram’s intervals represent amounts, not arbitrary category names.
Use a title and units such as minutes, centimetres or books. “Number of students” is a frequency label; “Travel time in minutes” names the variable being studied. A graph’s count axis does not mean that a second characteristic was measured on each student.
How to construct dotplots and stem-and-leaf plots
Construct a dotplot
- Label the variable and units. Use “One-way travel time (minutes)” for the Cedar High sample.
- Draw a consistent numerical scale. Equal differences in time must occupy equal distances on the axis.
- Place dot for each observation. Put the -minute observation at , the -minute observation at , and continue through the list.
- Stack repeated values. Put dots at and at . Keep a consistent vertical spacing.
- Count the dots. There should be , matching the number of recorded students.
dot represents observation ·
On a small screen, scroll the plot sideways to read the full scale.
In this plot, a stack height tells you how many students share a recorded time. The dots at mean recorded -minute journeys, not a journey lasting minutes.
The measurement axis can start near the smallest observed value; it does not have to start at zero. It must use a clearly labeled, consistent scale. If values are rounded or grouped to a plotting resolution, state that resolution. Here the recorded precision is minute.
Construct a stem-and-leaf plot
For these whole-minute values, use the tens digit as the stem and the ones digit as the leaf. For example, represents minutes. Write a key so the reader knows the place values and units.
- Choose a stem and leaf unit. Here a stem represents tens of minutes and a leaf represents minute.
- List the stems in increasing order. Use , , , and for this dataset.
- Record one leaf per observation. Every recorded time contributes one leaf, including repeats.
- Sort the leaves within each stem. Keep them in increasing order from left to right.
- Include the key and check the total. There must be leaves.
Key: minutes. Each leaf represents observation.
The row represents , , , , , , , and minutes. It contains observations. Each leaf is recorded value, not just one distinct value.
When a stem has too many leaves
A split stem can make a crowded plot easier to read. For example, repeat stem twice: the first row holds leaves , and the second holds leaves . For this sample, those rows would be and . Clearly state the split rule and use it consistently throughout the display.
Keep empty stems where needed to preserve the numerical sequence. For values , and , a stem-and-leaf plot should include an empty stem between stems and . An empty stem shows that no values occupy that range.
How to construct a histogram
A histogram counts observations inside numerical intervals. Unlike a dotplot, it groups several possible values into each bin.
Set a boundary rule before you count
Use -minute bins for Cedar High. Define each bin to include its lower boundary and exclude its upper boundary: means at least minutes but less than minutes.
Where does go? It belongs in , not in . The value must be counted once, in the correct bin.
| Travel time interval | Frequency: students | Percentage |
|---|---|---|
| minutes | ||
| minutes | ||
| minutes | ||
| minutes | ||
| minutes | ||
| Total |
The frequencies total . The percentages total . The bins cover every observed time, from through minutes, without double-counting a boundary value.
Bin width: minutes · · lower boundary included, upper boundary excluded
On a small screen, scroll the plot sideways to read the full scale.
For a vertical histogram, bin boundaries are on the horizontal axis and frequencies or relative frequencies are on the vertical axis. Start the frequency axis at zero and use equal numerical intervals. Adjacent nonempty bins have touching bars. A bin with observations remains as an empty interval on the numerical scale.
The bar has height . That means students had recorded times of at least but less than minutes. It does not mean students each took minutes, or that the travel time was minutes.
Frequency versus relative frequency histograms
A relative frequency histogram uses the same bin boundaries, but changes the bar heights to proportions or percentages. For these bins, the proportions are , , , and , or , , , and .
With the same dataset and bins, converting every height from a count to a relative frequency changes the vertical scale, not the pattern across intervals. Clearly label whether the height represents students, a proportion or a percentage.
Bin width changes the picture, not the observations
Now group the same times into -minute bins instead of -minute bins:
Bin width: minutes · · lower boundary included, upper boundary excluded
On a small screen, scroll the plot sideways to read the full scale.
For example, the times in divide into in and in . Narrower bins reveal finer detail. Wider bins combine more values and can hide detail.
There is no single bin width that always gives the best picture. Choose one that makes the data readable, check nearby reasonable choices, and keep the actual observations unchanged. More bars do not mean more students were measured.
Worked examples
Example 1: Construct a dotplot from an unsorted list
Question: students report the number of books they read last month: , , , , , , , , , . Construct a dotplot.
- Identify the variable. Number of books read last month is a quantitative count. Each student supplies observation.
- Organize the values. In increasing order: , , , , , , , , , .
- Place and stack the dots. Put at , at , at , at , at and at .
- Label and check. Use “Books read last month” on a consistent numerical scale. Count dots.
dot represents observation ·
On a small screen, scroll the plot sideways to read the full scale.