In short
A bar chart shows each category as a bar whose height is its count or relative frequency; a pie chart shows each category as a slice of a whole. Bar charts make comparisons between categories easiest. Use a graph to justify a claim by quoting what it shows, and be alert to graphs that mislead, for example with a vertical axis that does not start at zero.
What you need to know
- Construct a bar chart and a pie chart for one categorical variable.
- Justify or refute a claim using a graph of categorical data.
- Compare categorical displays, including bar charts on frequency and relative frequency scales.
- Recognise features that make a graph misleading.
Bar charts
A bar chart has one bar for each category. The bars are separated by gaps (the categories are separate groups, not a number line), and the height of each bar is the count or the relative frequency. The order of the bars can be anything; ordering from tallest to shortest makes the mode stand out.
A bar chart of counts and a bar chart of relative frequencies for the same data have exactly the same shape; only the numbers on the vertical axis change. Use relative frequencies when you will compare with another group of a different size.
Pie charts
A pie chart divides a circle into slices whose angles are proportional to the relative frequencies: a category with relative frequency 0.25 gets 0.25 × 360° = 90°. A pie chart only makes sense when the categories cover the whole group and each unit is in exactly one category. If people could choose more than one answer, the parts do not add up to a whole, and a bar chart is the right display.
Using a graph to support a claim
Exam questions often state a claim and ask whether a graph supports it. Answer with the evidence: "The claim that most students take the bus is not supported: the bus bar shows a relative frequency of 0.45, which is less than half." The word "most" means more than half, and "most common" means the largest category: these are different claims.
Key terms
- Bar chart
- A display of a categorical variable with one separated bar per category, height equal to count or relative frequency.
- Pie chart
- A circle divided into slices with angles proportional to each category's relative frequency.
- Relative frequency bar chart
- A bar chart whose heights are proportions rather than counts.
- Misleading graph
- A display whose design, such as a truncated axis, distorts the comparison it shows.
Common mistakes
Drawing bars that touch, like a histogram.
Leave gaps: categories are separate groups, not intervals of a number line.
Using a pie chart when individuals could choose several answers.
Use a bar chart; the categories do not form a single whole.
Treating 'most common' as meaning 'more than half'.
Check the claim's wording: 'most' means a majority; 'most common' means the mode.
How this topic is tested
- Label both axes and give the chart a title that names the variable and the group.
- When judging a claim, quote a value read from the graph.
- Mention a truncated axis if you see one; it is a common short-answer point.
Practice questions
Original AP-style multiple-choice questions. Pick an answer to see the explanation.
Question 1 · SP 3 · Analyze Data
In a pie chart, a category has relative frequency 0.15. What angle should its slice have?
Question 2 · SP 4 · Interpret Results
A bar chart shows the proportion of voters favouring four candidates: 0.31, 0.29, 0.22 and 0.18. A newspaper says 'Most voters favour the leading candidate.' Is the claim supported?
Question 3 · SP 3 · Analyze Data
Students could choose every sport they play from a list. Which display is appropriate?
Question 4 · SP 4 · Interpret Results
Two bars on a chart look as if one is four times as tall as the other, but the values are 0.52 and 0.48. What is the most likely explanation?
Question 5 · SP 3 · Analyze Data
A count bar chart and a relative frequency bar chart are made from the same data. Which is true?
Free-response practice
Write your answer first, then mark it against the scoring guide.
Practices 3 and 4 (short) · 4 points
A random sample of 200 adults in a town were asked their main source of news: television 0.34, online news sites 0.28, social media 0.24, newspapers 0.14.
- (a) Identify an appropriate graph for these data and explain why it is appropriate.
- (b) A local official claims that most adults in the town get their news from television. Explain whether the data support the claim.
Scoring guide: one point for each of the following
Part (a)
- A bar chart (or a pie chart).
- Main source of news is a single categorical variable and each adult gives one main source, so the categories form one whole.
Part (b)
- Not supported: only 34% of the sample chose television, which is less than half.
- Television is the most common source, but 'most' requires more than 50%.
Connected topics
Frequently asked questions
Do bar charts need to start at zero?
Yes. Bar heights are compared by length, so the axis must start at zero for the comparison to be honest.
Can I order the bars any way I like?
Yes, unless the categories have a natural order (such as rating levels), in which case keep that order.
Is a dotplot used for categorical data?
No. Dotplots and histograms are for quantitative variables, which come in topic 1.5.