Learn · Grade 7 Mathematics

Choose and create the right graph

Pick the display that fits a data set and a purpose, then work out what the display shows: bar heights, interval counts, leaves or a five-number summary.

Lesson 5 of 5About 25 minutesMA.7.DP.1.5

Written with AI assistance. No teacher has reviewed these lessons and questions yet.

01 · Learn the idea

Two kinds of data, six displays

Ask 30 classmates for their favorite season and you get words: fall, summer, summer, spring. Ask them how many minutes they slept and you get numbers you can put in order and measure. Data made of labels or groups are categorical data. Data made of counts or measurements are numerical data. The first thing to decide about any data set is which kind it is.

Two displays are for categorical data. A bar chart has one bar for each category, with gaps between the bars, and the height of a bar is the number of items in that category. A circle graph is a circle cut into sectors, one for each category, and the size of a sector shows that category as a part of the whole.

Four displays are for numerical data. A line plot is a number line with one X stacked above a value each time that value appears. A stem-and-leaf plot writes each value in two pieces: for two-digit data the tens digit is the stem and the ones digit is the leaf, so 47 goes in the row with stem 4 as the leaf 7.

A histogram splits the number line into intervals of equal width, such as 60 to 69 and 70 to 79. Each bar touches the next one, and its height is the number of values inside that interval. A box plot is drawn above a number line from five numbers: the minimum, the first quartile, the median, the third quartile and the maximum. A box runs from the first quartile to the third quartile, a line inside the box marks the median, and two whiskers reach out to the minimum and the maximum.

02 · Build understanding

Let the purpose pick the display

After you know the kind of data, ask what the display has to show. Each of the six does one job better than the others.

To compare how many items are in each category, use a bar chart. To show each category as a share of the total, use a circle graph. A circle graph only makes sense when the categories together make up one whole.

To keep every single value visible, use a line plot or a stem-and-leaf plot. A line plot works when the data set is small and the values sit close together, like 0 to 8 pets. A stem-and-leaf plot works when two-digit values spread over several tens, like test scores from 62 to 96.

To show how many values land in each interval, use a histogram. It handles hundreds of values easily, but you can no longer see the individual values. To show the median and how spread out the data are, use a box plot. It marks the median and the quartiles exactly, but it hides how many values there are.

03 · Build understanding

Worked example: a garden club counts its plants

A school garden club has 24 plants: 9 tomato, 6 pepper, 5 basil and 4 squash. The club wants one display to compare the counts and another to show each type as a share of the garden.

Step 1: Name the kind of data. Tomato, pepper, basil and squash are labels, so the data are categorical. That rules out the four numerical displays.

Step 2: Make the bar chart for comparing counts. Draw four separate bars. Their heights are the counts: tomato 9, pepper 6, basil 5, squash 4.

Step 3: Make the circle graph for shares. The four types together are the whole garden, so a circle graph fits. Tomato is 9/24 of the plants, which is 37.5%. Pepper is 6/24, which is 25%.

Step 4: Check. The bar heights add to 9 + 6 + 5 + 4 = 24 plants, the size of the whole garden.

04 · Build understanding

Worked example: twelve quiz scores, two displays

Twelve students took a quiz. Their scores were 62, 68, 71, 74, 75, 75, 79, 83, 84, 88, 91 and 96. The teacher wants one display that keeps every score and one that shows how many scores fall in each group of ten points.

Step 1: Name the kind of data. Scores are numbers, so the data are numerical. Bar charts and circle graphs are out.

Step 2: Keep every score with a stem-and-leaf plot. The scores spread from the 60s to the 90s, so the stems are 6, 7, 8 and 9. Write the ones digits in order beside each stem. Stem 6: leaves 2 8. Stem 7: leaves 1 4 5 5 9. Stem 8: leaves 3 4 8. Stem 9: leaves 1 6. The two scores of 75 need two leaves of 5.

Step 3: Count by intervals with a histogram. Use the intervals 60 to 69, 70 to 79, 80 to 89 and 90 to 99. The bar heights are 2, 5, 3 and 2.

Step 4: Check. The plot has 2 + 5 + 3 + 2 = 12 leaves and the histogram bars add to 12, one for each student. Each bar is as tall as its stem has leaves, because both sort the scores by tens.

05 · Build understanding

Worked example: practice minutes in a box plot

Ten band members wrote down how many minutes they practiced on Monday: 15, 20, 20, 25, 30, 35, 40, 45, 45 and 60 minutes. The band director wants to show the median and the spread, so she picks a box plot. A box plot needs the five-number summary.

Step 1: Put the values in order and find the ends. They are already in order. The minimum is 15 minutes and the maximum is 60 minutes.

Step 2: Find the median. With 10 values, the median is halfway between the 5th and 6th values: (30 + 35)/2 = 32.5 minutes.

Step 3: Find the quartiles. The lower half is 15, 20, 20, 25, 30, and its middle value is 20, so the first quartile is 20 minutes. The upper half is 35, 40, 45, 45, 60, and its middle value is 45, so the third quartile is 45 minutes.

Step 4: Describe the plot. Above a number line marked in minutes, the box runs from 20 to 45 with a line inside it at 32.5. One whisker goes from 20 down to 15 and the other from 45 up to 60.

Step 5: Check. The five numbers are in order: 15, 20, 32.5, 45, 60. Five of the ten values are below 32.5 and five are above it, as a median needs.

06 · Build understanding

Three mistakes to watch for

Using a histogram for categories. A histogram needs a number line cut into intervals. Favorite seasons are labels, not numbers on a number line, so they go in a bar chart, with gaps between the bars.

Using a circle graph when there is no whole. The high temperatures on five days are 81, 84, 79, 88 and 90 degrees. Adding them gives 422 degrees, which means nothing, so the five numbers are not parts of a whole and a circle graph does not fit.

Dropping or scrambling leaves. For the scores 75, 71, 75 and 79, the row for stem 7 is 1 5 5 9. Writing 1 5 9 loses a student, and writing 5 1 5 9 leaves the row out of order.

Apply and explain

Your turn

A swim coach has the 50-meter times, in seconds, of 80 swimmers. She wants to show how many swimmers finished in each 5-second interval. Jay suggests a stem-and-leaf plot and Rosa suggests a histogram. Whose display fits better? Explain what each display would and would not show.

Use paper or explain your thinking aloud before opening the solution.

Check your reasoning

Rosa's histogram fits better. The data are numerical and the coach wants the number of swimmers in each 5-second interval, which is what the height of each histogram bar shows. A stem-and-leaf plot would list all 80 times one by one, and its rows are grouped by tens, so it would not give 5-second groups without extra work. The histogram gives up the individual times, but the coach did not ask for them.

  • Says the data are numerical and the purpose is counts in intervals.
  • Chooses the histogram and ties it to bar heights showing counts in each 5-second interval.
  • Says what the stem-and-leaf plot shows (every value) and why that does not match the purpose.

Ready to practice?

Try the questions, get feedback, and review your reasoning.

Choose and create the right graph: practice →