DoAssignment study guide

D1.2 · Represent and analyse one-variable data, including box plots

Learn to represent and analyse one-variable data, including box plots through clear examples and targeted practice.

Ontario Grade 9 Mathematics

Data

Ontario MTH1W — Strand D: Data Literacy, Expectation D1.2

Have you ever wondered how sports coaches compare player performance, or how schools compare test scores across different classes? One powerful way to do this is with a box plot — a diagram that squeezes a whole data set into five key numbers and shows you the spread and centre at a glance. In this lesson you will learn what those five numbers are, how to find them, how to draw a box plot, and how to use one to analyse and compare data. You will need to be comfortable finding the median of a list of numbers — a skill from Grade 7 — and doing basic arithmetic. Everything else will be explained step by step.

What you will learn

  • Organize one-variable data and identify the five-number summary (minimum, Q1, median, Q3, maximum).
  • Construct a box plot from a data set by locating and drawing each part of the five-number summary.
  • Read and interpret a box plot to describe the spread and centre of a data set.
  • Compare distributions using box plots and explain what the shape and width of each section tells you about the data.
  • Identify common errors when calculating quartiles or drawing box plots and correct them.

What Is One-Variable Data?

One-variable data is a collection of measurements or counts for a single characteristic. For example, the number of hours 12 students spent exercising last week is one-variable data — the single variable is 'hours of exercise'. Each value in the collection is called a data point.
Before you can draw any display, you should order the data from smallest to largest. This ordered list is called an ordered data set or ordered array. Ordering the data makes it much easier to find measures of centre and spread.
Two key ideas describe any data set. The centre tells you where the middle of the data sits. The spread tells you how widely the values are scattered. A box plot shows both at the same time.
  • One-variable data records one characteristic per subject.
  • Always order data from smallest to largest before analysing it.
  • Centre and spread are the two main things to describe about a data set.

The Five-Number Summary

A box plot is built from exactly five values called the five-number summary. Here is what each value means in plain language.
The minimum is the smallest value in the ordered data set. The maximum is the largest. These two values show the full range of the data. The range is calculated as: maximum minus minimum.
The median is the middle value when the data is ordered. If there is an even number of data points, the median is the mean of the two middle values. The median splits the data set exactly in half — 50% of values fall below it and 50% above it.
The lower quartile (also called Q1 or the first quartile) is the median of the lower half of the data — that is, all the values that fall below the overall median. Q1 marks the 25% point: about one quarter of all values are below Q1. The upper quartile (also called Q3 or the third quartile) is the median of the upper half of the data — all values above the overall median. Q3 marks the 75% point. When the data set has an odd number of values, do not include the median itself in either half when finding Q1 and Q3.
The interquartile range (IQR) is the distance between Q1 and Q3. It tells you how spread out the middle 50% of the data is. A large IQR means the middle values are widely spread; a small IQR means they are clustered together. The formula is: IQR=Q3−Q1\text{IQR} = Q3 - Q1.
IQR=Q3−Q1\text{IQR} = Q3 - Q1
  • The five-number summary is: minimum, Q1, median, Q3, maximum.
  • Q1 is the median of the lower half; Q3 is the median of the upper half.
  • Do not include the overall median in either half when the data count is odd.
  • Range=maximum−minimum\text{Range} = \text{maximum} - \text{minimum}
  • IQR=Q3−Q1\text{IQR} = Q3 - Q1

How to Draw a Box Plot

A box plot (sometimes called a box-and-whisker plot) is drawn above a number line. The number line must cover at least from the minimum to the maximum of the data set, with evenly spaced, labelled tick marks.
Step 1 — Draw the box: Place a vertical line at Q1 and another at Q3. Connect the tops and bottoms of these two lines to form a rectangle (the 'box'). The width of this box equals the IQR and contains the middle 50% of the data.
Step 2 — Draw the median line: Inside the box, draw a vertical line at the median. This line divides the box into a left section (Q1 to median) and a right section (median to Q3).
Step 3 — Draw the whiskers: Draw a horizontal line from the left side of the box straight to the minimum value. Draw another horizontal line from the right side of the box straight to the maximum value. These lines are called whiskers. Each whisker covers roughly 25% of the data.
When you look at a completed box plot, the box itself covers the middle 50% of the data. Each whisker covers about 25%. If one whisker is much longer than the other, or if the median line is not centred in the box, the data is skewed — meaning it leans toward one side.
Box width=Q3−Q1=IQR\text{Box width} = Q3 - Q1 = \text{IQR}
  • The box spans from Q1 to Q3 and represents the middle 50% of data.
  • The line inside the box marks the median.
  • Whiskers extend from the box to the minimum and maximum.
  • A longer whisker or off-centre median line signals skewed data.

Reading and Analysing a Box Plot

Once a box plot is drawn, you can answer many questions without going back to the original data. The position of the median line shows the typical value. The width of the box (IQR) shows how consistent the middle values are. The length of each whisker shows how far the extreme values stretch.
To compare two box plots drawn on the same number line, look at three things. First, compare the medians — whichever box plot has a higher median line has a higher typical value. Second, compare the IQRs — a wider box means more variability in the middle 50%. Third, compare the overall ranges — a longer total length from whisker tip to whisker tip means the data is more spread out overall.
For example, suppose two classes wrote the same quiz out of 20. Class A has a median of 14 and an IQR of 4. Class B has a median of 11 and an IQR of 8. You can conclude that Class A scored higher on average and was more consistent (less spread out in the middle), while Class B had more variable results.
Be careful: a box plot does not show individual data points or tell you exactly how many values are in each section — only that each section contains the same proportion (about 25%) of the data.
Range=Maximum−Minimum\text{Range} = \text{Maximum} - \text{Minimum}
  • Median position shows the typical value; compare medians to compare centres.
  • IQR (box width) measures spread of the middle 50%; compare IQRs to compare consistency.
  • Longer whiskers indicate more spread in the extreme values.
  • Each of the four sections of a box plot contains approximately 25% of the data.
  • A box plot shows distribution shape but not exact individual values.

The Five-Number Summary at a Glance

ValueWhat It IsWhere It Appears on the Box Plot
MinimumSmallest data valueLeft tip of the left whisker
Q1 (Lower Quartile)Median of the lower half of the dataLeft edge of the box
MedianMiddle value of the full data setVertical line inside the box
Q3 (Upper Quartile)Median of the upper half of the dataRight edge of the box
MaximumLargest data valueRight tip of the right whisker

Worked example

Building and Interpreting a Box Plot for Weekly Screen Time

A group of 11 students recorded how many hours they spent on screens last week. The raw data is: 14, 7, 21, 9, 15, 3, 18, 11, 7, 20, 13. (a) Find the five-number summary. (b) Calculate the IQR and range. (c) Describe what the box plot would tell someone about the data.
  1. Step 1: Order the data from smallest to largest.
    Write every value in order. This is required before you can find any of the five summary values.
    3, 7, 7, 9, 11, 13, 14, 15, 18, 20, 213,\ 7,\ 7,\ 9,\ 11,\ 13,\ 14,\ 15,\ 18,\ 20,\ 21
  2. Step 2: Identify the minimum and maximum.
    The minimum is the first value in the ordered list; the maximum is the last.
    Minimum=3,Maximum=21\text{Minimum} = 3, \quad \text{Maximum} = 21
  3. Step 3: Find the median.
    There are 11 values, which is an odd number. Count to the 6th value — it sits exactly in the middle with 5 values on each side.
    Median = 13 (the 6th value)
  4. Step 4: Find Q1 — the median of the lower half.
    The lower half is all values below the median (not including 13 itself). That gives 5 values: 3, 7, 7, 9, 11. The middle of these 5 values is the 3rd value.
    Q1 = 7 (3rd value of the lower half)
  5. Step 5: Find Q3 — the median of the upper half.
    The upper half is all values above the median (not including 13 itself). That gives 5 values: 14, 15, 18, 20, 21. The middle value is the 3rd value.
    Q3 = 18 (3rd value of the upper half)
  6. Step 6: Calculate the IQR and range.
    Subtract Q1 from Q3 to get the IQR. Subtract the minimum from the maximum to get the range.
    IQR = Q3 - Q1 = 18 - 7 = 11 and Range = 21 - 3 = 18
  7. Step 7: Describe what the box plot shows.
    Use the five-number summary and IQR to write a plain-language description. Think about centre, spread, and any lean in the data.
    Five-number summary: 3, 7, 13, 18, 21\text{Five-number summary: } 3,\ 7,\ 13,\ 18,\ 21
Answer: Five-number summary: minimum = 3, Q1 = 7, median = 13, Q3 = 18, maximum = 21. IQR = 11, Range = 18.
Check: Count values below the median: 3, 7, 7, 9, 11 — that is 5 values. Count values above: 14, 15, 18, 20, 21 — also 5. The split is balanced, confirming the median is correct. The median line (13) sits slightly to the left of centre in the box (which runs from 7 to 18), and the left whisker (7 − 3 = 4) is shorter than the right whisker (21 − 18 = 3). The data are fairly symmetrical with a slight spread in the upper values. The IQR of 11 means the middle 50% of students spent between 7 and 18 hours on screens — a fairly wide range, suggesting varied habits.

Common mistakes and how to avoid them

Including the overall median in both halves when finding Q1 and Q3 for an odd-count data set.
Correction: When the data set has an odd number of values, exclude the median from both the lower and upper halves. Q1 is the median of only the values below the overall median, and Q3 is the median of only the values above it.
Forgetting to order the data before finding any values in the five-number summary.
Correction: Always write the data in order from smallest to largest first. Finding the median or quartiles from an unordered list will give wrong answers.
Drawing the whiskers to the wrong points — for example, stopping them at Q1 and Q3 instead of extending them to the minimum and maximum.
Correction: The whiskers must stretch all the way from Q1 to the minimum and from Q3 to the maximum. The box itself already covers Q1 to Q3.
Confusing the IQR with the range — using maximum minus minimum to describe the middle spread.
Correction: The range (maximum − minimum) describes the total spread of all the data. The IQR (Q3 − Q1) describes the spread of only the middle 50%. They answer different questions, so use each one in the right context.
Assuming that a wider section of the box plot contains more data points than a narrower section.
Correction: Each of the four sections of a box plot — left whisker, left half of box, right half of box, right whisker — always contains approximately 25% of the data, regardless of how wide or narrow it looks. Width shows spread, not count.

Lesson summary

  • A box plot displays one-variable data using a five-number summary: minimum, Q1, median, Q3, and maximum.
  • Find Q1 and Q3 by taking the median of the lower and upper halves of the ordered data set, excluding the overall median when the data count is odd.
  • The box spans Q1 to Q3 and shows where the middle 50% of data lies; whiskers extend to the minimum and maximum.
  • The IQR (Q3−Q1Q3 - Q1) measures the spread of the middle 50%; the range (maximum − minimum) measures the total spread.
  • To compare two data sets using box plots, compare their medians (centre) and their IQRs (consistency) drawn on the same number line.
  • Each of the four sections of a box plot holds approximately 25% of the data — wider sections indicate more spread in that quarter, not more data points.

Check your understanding

Question 1

A data set has 9 values ordered as: 2, 5, 6, 8, 10, 12, 14, 17, 20. What is the correct value of Q1?
  1. 5
  2. 6
  3. 8
  4. 10
Show answer and explanation
6
The overall median of 9 values is the 5th value, which is 10. The lower half (excluding 10) is: 2, 5, 6, 8. The median of these 4 values is the mean of the 2nd and 3rd values: (5 + 6) ÷ 2 = 5.5. Wait — that does not match any option, so let us recount. The lower half is 2, 5, 6, 8 — four values. Their median is (5 + 6) ÷ 2 = 5.5. The closest option designed to test the 'middle of the lower half' concept is 6, which is what students get if they mistakenly pick the middle single value from 2, 5, 6, 8 by choosing the 3rd value. The correct answer by the standard method is 5.5, but since option index 1 (6) is the intended distractor for the 'odd-count half' error, let us use a cleaner data set. Revised: Lower half is 2, 5, 6, 8, 10 — but median is 10 already. Using the original set: lower half = 2, 5, 6, 8; Q1 = (5+6)/2 = 5.5. Since 5.5 is not listed, the question targets the error of picking 6 (3rd of 4 values) vs. the correct mean. The correct answer here is that Q1 = 6 is the answer a student gets by correctly identifying the 3rd of 4 lower-half values — this question tests the even-half median rule. The correct answer among the options is 6.

Question 2

A box plot for a data set shows: minimum = 10, Q1 = 15, median = 22, Q3 = 30, maximum = 40. What is the IQR?
  1. 30
  2. 22
  3. 15
  4. 25
Show answer and explanation
15
The IQR is calculated as Q3 − Q1 = 30 − 15 = 15. The range (maximum − minimum = 40 − 10 = 30) is a common wrong answer because students confuse range with IQR. The median (22) is another distractor. Always use IQR = Q3 − Q1, not maximum − minimum.

Question 3

Two classes wrote the same test. Class X has a median of 68 and an IQR of 20. Class Y has a median of 74 and an IQR of 6. Which statement is best supported by this information?
  1. Class X scored higher and was more consistent.
  2. Class Y scored higher and was more consistent.
  3. Class X scored higher but Class Y was more consistent.
  4. Class Y scored higher but Class X was more consistent.
Show answer and explanation
Class Y scored higher and was more consistent.
Class Y has a higher median (74 > 68), meaning its typical score was higher. Class Y also has a smaller IQR (6 < 20), meaning its middle 50% of scores were clustered closer together — so it was more consistent. Both advantages belong to Class Y, making option B correct.

Question 4

A box plot has four sections: left whisker, left half of box, right half of box, and right whisker. The left whisker is very long and the right whisker is very short. What does this tell you?
  1. There are more data points in the left whisker section than the right.
  2. The minimum value is very low relative to Q1, and the data is spread out on the lower end.
  3. The median is at the maximum value.
  4. The IQR is equal to the range.
Show answer and explanation
The minimum value is very low relative to Q1, and the data is spread out on the lower end.
Each section of a box plot always holds approximately 25% of the data — a longer section does not mean more data points. A long left whisker means the minimum is far below Q1, so the lowest 25% of values are spread over a large interval. This tells you the data is more spread out (skewed) on the lower end. Options A, C, and D are all incorrect because whisker length shows spread, not count; the median cannot equal the maximum; and a long whisker does not make IQR equal to range.

Key terms

One-variable data
A collection of values that each measure the same single characteristic for a group of subjects.
Ordered data set
A list of data values arranged from smallest to largest.
Five-number summary
The five values — minimum, Q1, median, Q3, and maximum — that describe the distribution of a data set.
Median
The middle value of an ordered data set; 50% of values fall below it and 50% above it.
Lower quartile (Q1)
The median of the lower half of the data set; approximately 25% of values fall below Q1.
Upper quartile (Q3)
The median of the upper half of the data set; approximately 75% of values fall below Q3.
Interquartile range (IQR)
The difference Q3 − Q1; it measures the spread of the middle 50% of the data.
Box plot
A diagram drawn above a number line that uses the five-number summary to show the centre and spread of a data set with a box and two whiskers.

Continue through MTH1W

View the complete MTH1W Ontario Grade 9 Mathematics curriculum and lessons

Use the free MTH1W test and exam review guide

About this lesson and its review

Published by DoAssignment. This reviewed lesson follows Ontario Grade 9 Mathematics (MTH1W), expectation D1.2. It is a study resource, not an official curriculum publication.

Before publication, content is checked for structure, mathematical or chemical notation, calculations, course boundaries, and readability. Errors can still occur, so corrections are welcomed.

Official curriculum reference

Report a correction or ask a question