
represent a data set with a dot plot, a histogram and a box plot, and explain what each display reveals about the distribution.
Instruction
A statistical question is one you expect to answer with data that vary. “How long is my commute?” has one answer. “How long do students at our school take to get to school?” has many answers, and the interesting part is the pattern they make. That pattern is called a distribution.
Suppose 15 students report their one-way commute in minutes (illustrative data):
5, 8, 10, 10, 12, 15, 15, 18, 20, 20, 22, 25, 30, 35, 55
Dot plot. Draw a number line from 0 to 60 and put one dot above each value, stacking repeated values. A dot plot keeps every data point, so it works well for small data sets. You can see a cluster between 10 and 25 minutes and one student far to the right at 55.
Histogram. Group the values into equal-width intervals called bins and draw a bar whose height is the count in each bin. With bins of 10 minutes (0 to under 10, 10 to under 20, and so on) the counts are 2, 6, 4, 2, 0 and 1. A histogram hides individual values but shows the overall shape of large data sets. Here the shape is skewed right: most values are low, with a long tail toward high values. Different bin widths can make the same data look different, so always state the bins you chose.
Box plot. A box plot is built from the five-number summary. Order the data. The median is the middle value: with 15 values it is the 8th, which is 18. The first quartile Q1 is the median of the lower seven values (5 through 15), which is 10. The third quartile Q3 is the median of the upper seven values (20 through 55), which is 25. The minimum is 5 and the maximum is 55.
The interquartile range is IQR = Q3 − Q1 = 25 − 10 = 15 minutes. A common rule flags a value as an outlier if it is more than 1.5 × IQR beyond a quartile. The upper fence is 25 + 1.5(15) = 47.5, so 55 is an outlier. In the box plot below, the whisker stops at 35, the largest value that is not an outlier, and 55 is drawn as a separate point.
Read the box plot as four quarters of the data: about a quarter of students commute 5-10 minutes, a quarter 10-18, a quarter 18-25 and a quarter 25 minutes or more. The long right whisker and the outlier show the same right skew that the histogram showed.
Choosing a display. Use a dot plot when you have few values and want to see each one. Use a histogram for large data sets when shape matters. Use box plots to compare groups side by side on the same scale. Whatever you choose, label the axis with the quantity and its unit (“commute time, minutes”) and start the scale where it lets the reader see the data honestly.
Try it. Choose one data set; all three earn full credit.
- Set A — the commute times above. 5, 8, 10, 10, 12, 15, 15, 18, 20, 20, 22, 25, 30, 35, 55 minutes. Nothing to look up or collect. Its summary is worked out for you above, so use it to check that you can read a display you already understand.
- Set B — a second school (illustrative data). Fifteen students at a rural high school where nearly everyone rides a bus: 12, 15, 18, 20, 22, 24, 25, 26, 28, 30, 32, 34, 36, 38, 42 minutes. Check your work: the five-number summary is 12, 20, 26, 34, 42, so the IQR is 14 minutes, the fences are −1 and 55, and no value is an outlier. With 10-minute bins the counts are 0, 3, 6, 5, 1, 0.
- Set C — the public record. At Census QuickFacts (census.gov/quickfacts) look up Mean travel time to work (minutes), workers age 16 years+ for fifteen Missouri counties you choose, and use those fifteen numbers. Write down the counties and the date you looked them up. Each value here describes a whole county, not one worker.
Make all three displays for the set you chose, in CODAP or by hand on paper. Then write two sentences: one thing the histogram shows better than the box plot, and one thing the box plot shows better than the histogram.
📖 Read for this lesson
The reading opens over the lesson; close it to come back to exactly where you were. The checks below draw on it.
Formative check
Work through these before moving on. They are not graded — they tell you whether the standard below has landed yet.
In the commute data, which display would make the 55-minute value easiest to spot as unusual?
For the data 3, 4, 7, 8, 10, 12, 15 (seven values), what are Q1, the median and Q3?
For the commute data, Q1 = 10 and Q3 = 25, so the IQR is minutes and the upper outlier fence is minutes.
Simulation & tools
Three displays of one data set in CODAP
Set up. Open CODAP and choose Tables > New. Name the attribute commute_min and type the 15 values of the set you chose (Set A, B or C from the mini-lecture). Drag the attribute name onto the horizontal axis of a new graph: that is a dot plot.
Observe and record. (1) Use the graph’s ruler menu to show the median and a box plot, and record Q1, the median and Q3 that CODAP reports. For Set A they should be 10, 18 and 25; for Set B, 20, 26 and 34; for Set C, work them out by hand and compare. (2) Use the configuration menu to Group into Bins and then Fuse Dots into Bars to make a histogram. Record the counts with 10-minute bins, then change the bin width to 5 minutes and describe how the shape looks different.
Answer. Which display would you use to show a reader that most commutes are short but a few are long, and why?
No device? Draw the dot plot, the 10-minute histogram and the box plot on the printed number lines and answer the same question.
Open in a new tab ↗ · CODAP, Concord Consortium · MIT open source
How confident are you that you can draw a dot plot, histogram and box plot for a data set and say what each one shows?
Practice
Work these on paper or in your notebook, then open Check your answer. Aim for all of Fluency and Application; try at least one Challenge.
Printable version: this unit’s practice workbook (PDF)
Fluency
Build speed and accuracy with the core skill.
- For the data 2, 3, 4, 8, 13, 13, 20, 28, 33, 36: find the mean, median, range and interquartile range. (Find the quartiles as the medians of the lower and upper halves, leaving out the overall median when the count is odd.)
Check your answer
Answer: mean = 16.00; median = 13.0; range = 34; IQR = 24.0 (Q1 = 4.0, Q3 = 28.0) - For the data 2, 8, 9, 16, 17, 24, 26, 28, 30, 30: find the mean, median, range and interquartile range. (Find the quartiles as the medians of the lower and upper halves, leaving out the overall median when the count is odd.)
Check your answer
Answer: mean = 19.00; median = 20.5; range = 28; IQR = 19.0 (Q1 = 9.0, Q3 = 28.0) - For the data 7, 13, 16, 19, 30, 33, 39: find the mean, median, range and interquartile range. (Find the quartiles as the medians of the lower and upper halves, leaving out the overall median when the count is odd.)
Check your answer
Answer: mean = 22.43; median = 19.0; range = 32; IQR = 20.0 (Q1 = 13.0, Q3 = 33.0) - For the data 22, 24, 25, 30, 35, 36, 37, 38: find the mean, median, range and interquartile range. (Find the quartiles as the medians of the lower and upper halves, leaving out the overall median when the count is odd.)
Check your answer
Answer: mean = 30.88; median = 32.5; range = 16; IQR = 12.0 (Q1 = 24.5, Q3 = 36.5) - For the data 19, 26, 28, 34, 36, 37, 38, 39: find the mean, median, range and interquartile range. (Find the quartiles as the medians of the lower and upper halves, leaving out the overall median when the count is odd.)
Check your answer
Answer: mean = 32.12; median = 35.0; range = 20; IQR = 10.5 (Q1 = 27.0, Q3 = 37.5) - For the data 10, 15, 19, 19, 25, 30, 33: find the mean, median, range and interquartile range. (Find the quartiles as the medians of the lower and upper halves, leaving out the overall median when the count is odd.)
Check your answer
Answer: mean = 21.57; median = 19.0; range = 23; IQR = 15.0 (Q1 = 15.0, Q3 = 30.0) - For the data 12, 15, 15, 18, 20, 22, 24, 25, 48, find the five-number summary, the IQR and the outlier fences, and list any outliers.
Check your answer
Answer: Min 12, Q1 15, median 20, Q3 24.5, max 48; IQR 9.5; fences 0.75 and 38.75; outliers: 48Fences are Q1 − 1.5 × IQR and Q3 + 1.5 × IQR. - For the data 3, 8, 9, 10, 11, 12, 13, 14, 30, find the five-number summary, the IQR and the outlier fences, and list any outliers.
Check your answer
Answer: Min 3, Q1 8.5, median 11, Q3 13.5, max 30; IQR 5; fences 1 and 21; outliers: 30Fences are Q1 − 1.5 × IQR and Q3 + 1.5 × IQR.
Application
Use the skill in context. Show your reasoning.
- A sixteenth student joins the Lesson 1.1 commute survey with a 42-minute commute. Find the new five-number summary and decide whether 42 or 55 is an outlier.
Check your answer
Answer: Min 5, Q1 11, median 19, Q3 27.5, max 55; IQR 16.5; upper fence 52.25. 55 is an outlier; 42 is not an outlier.With 16 values, the median is the mean of the 8th and 9th values; each half has 8 values. - Daily highs (°F) for 14 July days in an inland Missouri city (illustrative): 92, 95, 97, 99, 101, 103, 104, 98, 96, 94, 100, 105, 108, 97. Make a frequency table with bins 90-94, 95-99, 100-104 and 105-109, and describe the shape.
Check your answer
Answer: Counts 2, 6, 4, 2; the distribution is mound-shaped, peaking in the 95-99 bin, with a slightly longer tail to the right.Count each value into exactly one bin, then read the heights of the bars left to right. - Five-number summaries of daily air-quality index (AQI) values for one summer month (illustrative): City A (22, 35, 42, 51, 88); City B (30, 38, 44, 49, 63). Which city has the larger IQR, and is either maximum an outlier?
Check your answer
Answer: City A: IQR 16, upper fence 75, so 88 is an outlier. City B: IQR 11, upper fence 65.5, so 63 is not.IQR = Q3 − Q1; upper fence = Q3 + 1.5 × IQR.
Challenge
Stretch problems. Expect to think before you write.
- Write a data set of seven whole numbers with median 12, IQR 6 and range 20. Check your set.
Check your answer
Answer: One answer: 4, 9, 10, 12, 14, 15, 24 (Q1 = 9, Q3 = 15, range 20).Fix the median first, then choose the 2nd and 6th values to set Q1 and Q3, and the extremes to set the range.
Review
Keep earlier skills sharp.
- Solve: −7x = 63
Check your answer
Answer: x = −9Subtract 0 from both sides: −7x = 63. Divide by −7. - Compute −3/4 + 5/6.
Check your answer
Answer: 1/12Common denominator 12: −9/12 + 10/12. - 18 minutes is what percent of 24 minutes?
Check your answer
Answer: 75%18 ÷ 24 = 0.75.
Thirty-One Julys: NOAA Temperature Records for Fresno and San Diego
NOAA National Centers for Environmental Information, Climate at a Glance: City Time Series — July average maximum temperature, Fresno (station USW00093193) and San Diego (station USW00023188), 1995–2025; retrieved September 23, 2026 · Public domain (works of the United States government)
Why this reading. This lesson asks you to build a dot plot, a histogram and a box plot of a real data set, and one of its routes sent you off to a website to collect fifteen numbers yourself. Here is a better data set, already collected: thirty-one Julys in two cities, one in a hot inland valley and one on the Pacific coast, from the federal agency that keeps the records. Nothing to look up, nothing to download, and the two distributions have genuinely different shapes, which is the whole reason for drawing them.
What each number is
Every value is the average daily maximum temperature for the month of July, in degrees Fahrenheit. NOAA takes the highest temperature reached on each of the thirty-one days of July and averages those thirty-one numbers. It is an average of maximums: not the hottest day, and not the average across all hours of the day. Each column comes from a single weather station — Fresno Yosemite International Airport and San Diego International Airport — because those two have kept unbroken records for the whole period.
| July of | Fresno °F | San Diego °F |
|---|---|---|
| 1995 | 94.7 | 73.3 |
| 1996 | 100.8 | 73.7 |
| 1997 | 95.5 | 72.2 |
| 1998 | 96.7 | 73.0 |
| 1999 | 95.6 | 72.4 |
| 2000 | 93.5 | 73.2 |
| 2001 | 96.0 | 72.8 |
| 2002 | 99.2 | 71.6 |
| 2003 | 101.3 | 74.1 |
| 2004 | 98.5 | 76.2 |
| 2005 | 101.7 | 74.2 |
| 2006 | 103.0 | 80.9 |
| 2007 | 98.2 | 73.8 |
| 2008 | 98.6 | 73.4 |
| 2009 | 100.7 | 75.3 |
| 2010 | 98.5 | 70.1 |
| 2011 | 96.5 | 74.1 |
| 2012 | 97.6 | 72.7 |
| 2013 | 101.0 | 74.2 |
| 2014 | 99.9 | 76.9 |
| 2015 | 96.8 | 75.7 |
| 2016 | 100.0 | 74.4 |
| 2017 | 101.9 | 76.0 |
| 2018 | 102.8 | 78.6 |
| 2019 | 99.0 | 73.3 |
| 2020 | 99.9 | 74.4 |
| 2021 | 103.3 | 76.0 |
| 2022 | 100.8 | 72.2 |
| 2023 | 101.8 | 74.1 |
| 2024 | 105.2 | 76.7 |
| 2025 | 97.0 | 73.3 |
The five-number summaries, worked out
There are thirty-one values, so the median is the 16th in order. For Fresno that is 99.2. The lower fifteen values run from 93.5 up to 98.6, and the median of those fifteen is the 8th of them, so Q1 = 96.8. The upper fifteen run from 99.9 to 105.2, giving Q3 = 101.3. Fresno is therefore 93.5, 96.8, 99.2, 101.3, 105.2, and the IQR is 101.3 − 96.8 = 4.5 °F. The outlier fences are 96.8 − 1.5(4.5) = 90.05 and 101.3 + 1.5(4.5) = 108.05. No Fresno value falls outside them.
San Diego, the same way: 70.1, 73.0, 74.1, 75.7, 80.9, so the IQR is 2.7 °F and the fences are 68.95 and 79.75. One value, 80.9 °F in July 2006, sits above the upper fence, so the 1.5 × IQR rule flags it as an outlier. It is not a typing mistake. July 2006 brought a severe heat wave across the western United States, and the station really did record it.
Counts for a histogram
Bins two degrees wide, each bin including its left endpoint and excluding its right:
| Fresno bin (°F) | 93–95 | 95–97 | 97–99 | 99–101 | 101–103 | 103–105 | 105–107 |
|---|---|---|---|---|---|---|---|
| Count | 2 | 6 | 6 | 8 | 6 | 2 | 1 |
| San Diego bin (°F) | 70–72 | 72–74 | 74–76 | 76–78 | 78–80 | 80–82 |
|---|---|---|---|---|---|---|
| Count | 2 | 13 | 9 | 5 | 1 | 1 |
Both sets of counts add to 31; check them against the table before you trust them. Notice that the two cities need different bins — no single bin width sensibly covers a 70-degree city and a 105-degree one. Box plots on one shared axis do cover both, which is why the lesson recommends them for comparisons.
What this data set does not tell you
- It describes one station, not a whole city. The Fresno station stands on an airfield; a shaded street downtown is a different place.
- An average of daily maximums hides the days inside it. A July averaging 99 °F could be thirty-one days near 99, or a fortnight at 108 and a fortnight at 90.
- Instruments, station siting and the growth of a city around an airport all change what a thermometer reads over thirty years. NOAA publishes adjusted series for that reason; these are the station values as recorded.
- Thirty-one years is a long record for a school data set and a short one for a climate. Do not write “July is getting hotter” from this table alone. Write what the thirty-one numbers show.
Use either city for all three displays, or both if you want the comparison. Whichever you choose, label the axis July average maximum temperature (°F) and name the station the numbers came from.
Sources: NOAA NCEI, Climate at a Glance: City Time Series (Fresno) (ncei.noaa.gov); NOAA NCEI, Climate at a Glance: City Time Series (San Diego) (ncei.noaa.gov)