Graphs of Categorical Data and Misleading Graphs
Theory
Column graphs, sector graphs and divided bar graphs display categorical data, and line graphs show change over time. This Year 11 Maths Standard page shows how to organise data in a frequency table, calculate and read sector angles, read a divided bar graph, choose the right graph, and spot misleading graphs with truncated axes, uneven scales or 3-D effects.
Categorical data (such as favourite sport or way of getting to work) is first organised in a frequency table: tally each category, then check that the frequencies add to the total.
- A column graph (bar graph) shows the frequency of each category as the height of a column.
- A sector graph (pie chart) shows each category as a slice of a circle. The angles add to \(360^\circ\).
- A divided bar graph shows each category as a section of one long bar, often against a \(0\%\) to \(100\%\) scale.
- A line graph shows how a quantity changes over time, by joining the points in order.
Sector and divided bar graphs show parts of a whole (such as a budget). Column graphs compare categories. Line graphs show trends over time. Dot plots, stem-and-leaf plots and histograms are for numerical data, not categorical data.
A graph is misleading when the way it is drawn gives a wrong impression. Common tricks are a vertical axis that does not start at zero (a truncated axis), an uneven scale, a tilted 3-D sector graph, and pictures that grow in width as well as height.
An infographic combines numbers, words and pictures. Read the numbers carefully, and only draw conclusions the data actually shows: a graph shows what happened, not why, and it cannot guarantee the future.
For a category with a given frequency out of a total:
| To find | Do this |
|---|---|
| angle from a percentage | percentage of \(360^\circ\), e.g. \(20\%\times 360^\circ=72^\circ\) |
| number in a category | \(\dfrac{\text{angle}}{360}\times\text{total}\), or percentage \(\times\) total |
| the total | if a \(45^\circ\) sector is \(12\) people, it is \(\dfrac{45}{360}=\dfrac{1}{8}\) of the total, so total \(=12\times 8\) |
| a section of a divided bar | end reading \(-\) start reading, e.g. \(35\%\) to \(80\%\) is \(45\%\) |
Which graph?
- Parts of a whole (budget, shares that add to \(100\%\)): sector graph or divided bar graph.
- Comparing categories (frequencies): column graph.
- Change over time (months, years): line graph.
Reading a line graph
- Read the value at each point from the vertical scale.
- Find the change between each pair of consecutive points, e.g. \(25\to 23\) is a fall of \(2\).
- Compare the changes: the steepest segment down is the biggest fall, the steepest segment up is the biggest rise.
How to draw a sector graph
- Total the frequencies.
- Calculate each angle: \(\dfrac{\text{frequency}}{\text{total}}\times 360^\circ\). Check the angles add to \(360^\circ\).
- Draw each sector with a protractor, then add a title and a key.
Is this graph misleading?
- Check where the vertical axis starts and whether the scale is even.
- Compare how big the difference looks with the real values.
- Look for 3-D effects, missing labels and conclusions that go beyond the data.
C, P, C, H, C, C, P, C, C, H, P, C, C, P, C, H, C, P, C, C, P, H, C, P
(i) Organise the data in a frequency table.
(ii) Draw a column graph.
(i) Tally each category, then check the total:
| Payment | Frequency |
|---|---|
| Card | \(13\) |
| Phone | \(7\) |
| Cash | \(4\) |
| Total | \(24\) |
Check: \(13+7+4=24\) ✓
(ii) One column per category, with height equal to the frequency:
(i) Find the sector angle for each item.
(ii) What percentage of the budget is rent?
(i) Sector angle \(=\dfrac{\text{amount}}{\text{total}}\times 360^\circ\)
| \(\text{Rent}\) | \(=\) | \(\dfrac{600}{1500}\times 360^\circ=144^\circ\) |
| \(\text{Food}\) | \(=\) | \(\dfrac{300}{1500}\times 360^\circ=72^\circ\) |
| \(\text{Transport}\) | \(=\) | \(\dfrac{150}{1500}\times 360^\circ=36^\circ\) |
| \(\text{Other}\) | \(=\) | \(\dfrac{450}{1500}\times 360^\circ=108^\circ\) |
Check: \(144+72+36+108=360^\circ\) ✓
(ii)
| \(\text{Rent}\) | \(=\) | \(\dfrac{144}{360}\times 100\%\) |
| \(\) | \(=\) | \(\mathbf{40\%}\) |
(ii) How many more people chose Flicks than Other?
(iii) The same data is drawn as a divided bar graph \(12\text{ cm}\) long. How long is the Flicks section?
(i)
| \(\text{Flicks}\) | \(=\) | \(\dfrac{126}{360}\times 100\%\) |
| \(\) | \(=\) | \(\mathbf{35\%}\) |
(ii) Find each number from its angle, then subtract.
| \(\text{Flicks}\) | \(=\) | \(\dfrac{126}{360}\times 180=63\) |
| \(\text{Other}\) | \(=\) | \(\dfrac{60}{360}\times 180=30\) |
\(63-30=33\), so \(\mathbf{33}\) more people chose Flicks.
(iii) The section is the same fraction of the bar as the sector is of the circle.
| \(\text{Length}\) | \(=\) | \(\dfrac{126}{360}\times 12\) |
| \(\) | \(=\) | \(\mathbf{4.2}\text{ cm}\) |
(ii) How many times as many bikes did Brand P really sell? Answer to \(2\) decimal places.
(iii) Explain why the graph is misleading, and how to fix it.
The vertical axis starts at \(40\), not \(0\).
(i) Drawn heights: P: \(58-40=18\), Q: \(46-40=6\).
| \(\text{How it looks}\) | \(=\) | \(\dfrac{18}{6}\) |
| \(\) | \(=\) | \(\mathbf{3}\text{ times}\) |
(ii)
| \(\text{Real ratio}\) | \(=\) | \(\dfrac{58}{46}\) |
| \(\) | \(=\) | \(1.2608\ldots\) |
| \(\) | \(\approx\) | \(\mathbf{1.26}\text{ times}\) |
(iii) Brand P sold only \(12\) more bikes, about \(1.26\) times as many, but the truncated axis makes it look \(3\) times as many. Start the vertical axis at \(0\).
Common pitfalls
Frequently asked questions
How do you calculate the angle in a sector graph?
Divide the frequency by the total and multiply by \(360^\circ\). For \(15\) out of \(60\): \(\dfrac{15}{60}\times 360^\circ=90^\circ\).
How do you find a percentage from a pie chart?
Divide the sector angle by \(360^\circ\) and multiply by \(100\%\). A \(54^\circ\) sector is \(\dfrac{54}{360}\times 100\%=15\%\).
How do you find the total from one sector of a pie chart?
Work out what fraction of the circle the sector is. If a \(45^\circ\) sector stands for \(12\) people, it is \(\dfrac{45}{360}=\dfrac{1}{8}\) of the total, so the total is \(12\times 8=96\).
Why is a graph with a vertical axis not starting at zero misleading?
The columns only show the part above the starting value, so small differences look large. Always compare the real values.
When should you use a sector graph instead of a column graph?
Use a sector graph (or divided bar graph) to show how a whole is split into parts. Use a column graph to compare the frequencies of categories.