11.3 Representing data: charts and histograms — Learn
Prerequisites: reading a table; working out a fraction of .
Objectives: choose a suitable display for a data set; read a bar chart, a pie chart, a stem-and-leaf plot and a histogram; build a frequency table.
By the end of this section you can show a data set so that its pattern is visible, and you can read a display that someone else has drawn.
Frequency tables
The first step is usually to count. A frequency is the number of times a value occurs. A frequency table lists the values and their frequencies.
| Number of pets | Frequency |
|---|---|
The total frequency is , so the table describes homes.
Charts for categorical data
A bar chart shows one bar for each category. The bars are separated by gaps, because the categories are not numbers and there is no order between them.
A pie chart shows each category as a slice of a circle. A full circle is , so a category with frequency out of a total gets an angle of
Example 1. A survey of people records favourite sport. choose hurling. Find the angle of the hurling slice in a pie chart.
Stem-and-leaf plots
A stem-and-leaf plot keeps the data values while showing their shape. The stem is the leading digit and the leaf is the last digit.
1 | 2 4 5 8
2 | 1 3 7 9
3 | 1 4
This plot holds ten values: , , , , , , , , and . The smallest is and the largest is . A stem-and-leaf plot is useful for a small data set, because no value is lost.
Histograms
A histogram shows numerical data grouped into classes. Each bar covers a class, and the bars touch, because the classes sit next to each other on a number line.
When the classes all have the same width, the height of a bar is its frequency, and the area of the bar is proportional to the frequency. When the classes have different widths, the height is the frequency density:
Example 2. A histogram has a class of width with frequency density . How many values are in the class?
Choosing a display
- Categorical data — a bar chart or a pie chart.
- A small numerical data set — a stem-and-leaf plot, which keeps every value.
- A large numerical data set — a histogram, which groups the values into classes.
- Change over time — a line plot, with the time on the horizontal axis.
Example 3. A teacher records the times of runners in a race. Which display suits the data, and why?
The times are numerical and there are many of them, so a histogram suits the data. It groups the times into classes such as - minutes and - minutes, and the shape of the group is visible.
Progress check
Back to the chapter problem. The poll reported Yes voters and No voters out of .
Work out the angle of the Yes slice in a pie chart.
The Yes slice is slightly more than half the circle, because is slightly more than half of . The pie chart shows a small lead, and it does not show whether that lead is reliable.
You should now be able to
- build a frequency table from raw data;
- choose a bar chart, a pie chart, a stem-and-leaf plot or a histogram;
- work out the angle of a pie-chart slice;
- read a histogram with equal or unequal class widths;
- explain the difference between a bar chart and a histogram.