Displaying One-Variable Data
A good graph lets you see the shape of a data set at a glance: where the values cluster, how spread out they are, and whether anything is unusual. But the right graph depends on the type of data, and a badly made graph (by accident or on purpose) can tell a story the numbers don’t support. This page covers both: choosing a graph, and catching a misleading one.
Key ideas
Section titled “Key ideas”Match the graph to the data
Section titled “Match the graph to the data”Start by asking what kind of data you have (see types of data).
| Data type | Example | Good graphs |
|---|---|---|
| Categorical | favourite sport, type of pet | bar graph, circle graph |
| Discrete numerical | number of siblings | bar graph, stem-and-leaf plot, boxplot |
| Continuous numerical | heights, times, masses | histogram, stem-and-leaf plot, boxplot |
Bar graphs
Section titled “Bar graphs”A bar graph shows a count (or percentage) for each category. The bars are separate, with gaps between them, because the categories are separate. The order of the categories usually doesn’t matter, so you can sort the bars from tallest to shortest to make comparisons easier.
Circle graphs
Section titled “Circle graphs”A circle graph (pie chart) shows how a whole is divided into parts. Each sector’s angle is its share of :
Use a circle graph only when the parts add up to one whole (every person is counted exactly once). Circle graphs are good for showing shares, but bar graphs are better for comparing categories that are close in size.
Histograms
Section titled “Histograms”A histogram shows continuous data grouped into intervals (also called classes or bins).
- The intervals should have equal widths and must not overlap. Use ” to under ”, so a value of exactly goes in only one interval.
- The bars touch, with no gaps, because the number line is continuous: one interval ends exactly where the next begins.
- The height of each bar is the frequency (or relative frequency) of that interval.
About to intervals usually works well. Too few hides the shape; too many makes it bumpy.
Stem-and-leaf plots
Section titled “Stem-and-leaf plots”A stem-and-leaf plot splits each value into a stem (the leading digits) and a leaf (the last digit). It looks like a sideways histogram but keeps every individual value, so you can still find the median and quartiles. It works best for small data sets (up to about values). Always include a key, like ” means minutes”.
Boxplots
Section titled “Boxplots”A boxplot shows the five-number summary and any outliers (see quartiles and percentiles). Boxplots hide the individual values, but they’re excellent for comparing two or more data sets side by side.
How graphs can mislead
Section titled “How graphs can mislead”Watch for these tricks:
- Truncated axis: the vertical axis doesn’t start at , so small differences look huge. Bar graphs should always start at , because we compare bars by their lengths.
- Uneven intervals: in a histogram, a wider interval collects more data and makes its bar look more important than it is.
- 3-D effects: a tilted 3-D circle graph makes the sectors at the front look bigger than equal sectors at the back.
- Misleading pictographs: if a picture is scaled up in both height and width to show “twice as much”, its area grows four times, so it looks four times as big.
- Missing labels or scales: a graph with no units or no numbers on the axis can’t be checked at all.
On the SAT
Section titled “On the SAT”Desmos can’t read a graph for you, so on the SAT this topic is mostly careful reading. Questions show a histogram, dot plot, or bar graph and ask for a mean, median, or count, so read the scale and the bin labels first. For the median, add up the frequencies to get and find the value in position (counting from the smallest); for the mean, multiply each value by its frequency, add, and divide by , using Desmos for the arithmetic if you like. See using Desmos on the SAT.
Worked examples
Section titled “Worked examples”Example 1: Choosing a graph
Section titled “Example 1: Choosing a graph”Which type of graph would you use for each data set?
- (a) The number of students in each club at a school.
- (b) How a town’s budget is split among roads, parks, police, and other services.
- (c) The masses of newborn babies.
- (d) The quiz marks of a class of , when you want to see every mark.
Solution.
(a) A bar graph: the clubs are categories.
(b) A circle graph: the parts make up a whole budget.
(c) A histogram: mass is continuous, and values is too many to list.
(d) A stem-and-leaf plot: it shows the shape and keeps every individual mark.
Example 2: Sector angles for a circle graph
Section titled “Example 2: Sector angles for a circle graph”A survey of students asked for their favourite cafeteria lunch: pizza , sushi , sandwiches , salad , other . Find the sector angle for each.
Solution. Multiply each share of the total by :
| Lunch | Frequency | Sector angle |
|---|---|---|
| Pizza | ||
| Sushi | ||
| Sandwiches | ||
| Salad | ||
| Other |
Check: . ✓
Example 3: Stem-and-leaf plot and histogram
Section titled “Example 3: Stem-and-leaf plot and histogram”Twenty people timed how long (in minutes) it took them to finish the same crossword:
Make a stem-and-leaf plot and a histogram, and describe the shape.
Solution. Use the tens digit as the stem and the ones digit as the leaf:
| Stem | Leaves |
|---|---|
Key: means minutes.
From the plot, the 10th and 11th values are and , so the median is minutes.
For the histogram, use intervals of width : to under , to under , and so on. The frequencies are the number of leaves on each stem: .
Most people took between and minutes. The data trail off more slowly on the right (up to minutes) than on the left, so the distribution is slightly skewed right.
Example 4: A misleading bar graph
Section titled “Example 4: A misleading bar graph”A school’s newsletter shows the recycling collected each month: kg in September, kg in October, kg in November, and kg in December. Compare the two graphs below.
Solution. On the left, the axis starts at , so the bars show only the part above . September’s bar is units tall and December’s is units, so December looks about times as big.
In fact, recycling went up by kg, which is
That’s a real but small improvement, which the honest graph on the right shows correctly.
Common mistakes
Section titled “Common mistakes”Leaving gaps between histogram bars (or none between bar graph bars). Gaps mean separate categories (bar graph). No gaps mean a continuous number line (histogram).
Using a circle graph when the parts aren’t one whole. If people could pick more than one answer, the percentages add to more than , and a circle graph makes no sense. Use a bar graph.
Using unequal intervals in a histogram. A wider interval catches more values just because it’s wider. Keep the widths equal.
Overlapping intervals. ”–” and ”–” both seem to include . Write ” to under ” so every value belongs to exactly one interval.
Forgetting the key on a stem-and-leaf plot. Without it, "" could mean , , or .
Trusting a graph without reading the axis. Before you react to a dramatic graph, check where the vertical axis starts and whether the intervals are equal.
Practice
Section titled “Practice”1. (Warm-up) Which type of graph would you use for each data set?
- (a) Students’ favourite sports.
- (b) The heights of Grade 12 students.
- (c) The percentage of a family’s monthly spending on rent, food, transportation, and savings.
Solution
(a) Bar graph (categorical data). (b) Histogram (continuous data, many values). (c) Circle graph (parts of one whole).
2. (Warm-up) Explain why the bars of a histogram touch, but the bars of a bar graph don’t.
Solution
A histogram shows intervals on a continuous number line: each interval ends exactly where the next one starts, so the bars touch. A bar graph shows separate categories with nothing “between” them, so the bars are separated by gaps.
3. (Warm-up)
- (a) What sector angle represents of a circle graph?
- (b) What percentage does a sector of represent?
Solution
(a) .
(b) .
4. (Core) Eighty students were asked how they usually get to school: bus , walk , car , bike . Find the sector angles for a circle graph.
Solution
Bus: . Walk: . Car: . Bike: .
Check: . ✓
5. (Core) Make a stem-and-leaf plot of these test marks, then find the median:
Solution
| Stem | Leaves |
|---|---|
Key: means .
There are marks, so the median is the mean of the 6th and 7th: .
6. (Core) A company’s sales doubled this year. Its ad shows a picture of a shopping bag for last year and, for this year, the same bag drawn twice as tall and twice as wide. Why is this misleading?
Solution
Doubling both the height and the width multiplies the area of the picture by . Our eyes judge size by area, so the new bag looks four times as big, even though sales only doubled. An honest pictograph would show two bags of the same size, or scale only one dimension.
7. (Core) A histogram of the ages of people at a community event uses these intervals: to under (frequency ), to under (frequency ), and to under (frequency ). The bars are drawn with heights , , and .
- (a) Which age group looks the most common?
- (b) Why is this misleading? How many people are there per years of age in the last interval?
Solution
(a) The to under group has the tallest bar, so it looks the most common.
(b) That interval is years wide, three times as wide as the others, so it naturally collects more people. Per years, it has only people, compared with and in the other intervals. It’s actually the least crowded age range. Equal-width intervals avoid this problem.
8. (Challenge) A bar graph compares two phone plans’ customer ratings: for Plan A and for Plan B. The vertical axis starts at .
- (a) How many times as tall does Plan B’s bar look compared with Plan A’s?
- (b) By what percentage is Plan B’s rating actually higher?
Solution
(a) The bars show only the part above : Plan A’s bar is units tall and Plan B’s is . Plan B’s bar looks times as tall.
(b) , so Plan B’s rating is only about higher.
9. (Challenge) A survey asked students “Which streaming services do you use? (Choose all that apply.)” The results were , , and for three services. A student wants to show this as a circle graph. What’s the problem, and what graph would you suggest instead?
Solution
The percentages add to , because many students chose more than one service. The categories don’t split one whole into parts, so a circle graph can’t show them. (The sector angles would add to .) Use a bar graph, with one bar per service showing the percentage of students who use it.