AP Statistics  /  Unit 1: Exploring One-Variable Data and Collecting Data  /  Topic 1.4
NUM8ERS study notes · Topic 1.4

Graphical Representations for One Categorical Variable

Turn category counts into graphs you can read and trust. Learn to build bar charts and pie charts, support a claim with evidence, and compare groups fairly when their sample sizes differ.

2026–27 curriculum3 worked examples6 practice questionsTables → graphs → evidence

By the end of this lesson, you should be able to:

  • Construct a bar chart using counts or relative frequencies.
  • Construct a pie chart whose slices represent parts of one whole.
  • Justify a claim using category counts or percentages from a graph.
  • Compare categorical distributions using a common percentage scale.

Before you start: Know how to calculate a category’s relative frequency. Review Topic 1.3 if you need a reminder.

First time learning this? Follow the travel-method example and the graph-building steps, then try Worked Example 1.

Here to revise? Read the quick revision notes, then try the practice questions without opening the answers.

The concept in 60 seconds

A categorical graph shows how observations are distributed across category labels. In a bar chart, a bar’s height or length represents a category’s count or share. In a pie chart, a slice represents that category’s share of the whole.

Read the scale before the shape. A bar labeled 2020 might mean 2020 students, 20%20\% of students, or a proportion of 0.200.20. The axis label tells you which.

For example, 2424 out of 6060 sampled students travelled by car. A count bar chart shows 2424 students. A percentage bar chart shows 40%40\%. A pie chart gives Car 40%40\% of the circle. These displays tell the same story about the same sample.

When comparing groups of different sizes, compare their relative frequencies if your question is about shares. More observations in a category do not automatically mean a larger proportion.

One travel-method table, three ways to display it

Continue the fictional Cedar High example. The school has 1,2001{,}200 enrolled students. For the Tuesday being studied, a sample of 6060 students records each student’s main home-to-school travel method. Each student has one recorded method.

Illustration of a school bus, a car, students walking and a student cycling near a school: four possible main travel-method categories.
One question, four category labels: Bus, Car, Walk and Bike. The illustration introduces the categories; the number of people drawn does not represent the sample frequencies.
Main travel method for 6060 sampled Cedar High students. Invented teaching data; the same totals as Topic 1.3.
Travel methodFrequency: studentsRelative frequencyPercentage
Bus20202060=13\frac{20}{60} = \frac{1}{3}≈33.3%\approx 33.3\%
Car24242460=0.40\frac{24}{60} = 0.4040.0%40.0\%
Walk12121260=0.20\frac{12}{60} = 0.2020.0%20.0\%
Bike44460=115\frac{4}{60} = \frac{1}{15}≈6.7%\approx 6.7\%
Total606011100%100\%
Cedar High: main travel method — counts

Frequency bar chart · 6060 sampled students

Bus2020
Car2424
Walk1212
Bike44

Number of sampled students · category axis: Main travel method

Read each category against the zero-based scale. Bus 2020; Car 2424; Walk 1212; Bike 44. Sample size: 6060. Invented teaching data.

The bar lengths show the counts directly. Car is most common; Bike is least common. The gaps separate category labels. Bus, Car, Walk and Bike are not intervals on a numerical scale.

Cedar High: main travel method — percentages

Relative frequency bar chart · the same 6060 students

Bus≈33.3%\approx 33.3\%
Car40%40\%
Walk20%20\%
Bike≈6.7%\approx 6.7\%

Percentage of sampled students · category axis: Main travel method

Read each category against the zero-based scale. Bus ≈33.3%\approx 33.3\%; Car 40%40\%; Walk 20%20\%; Bike ≈6.7%\approx 6.7\%. Sample size: 6060. Invented teaching data.

Changing from counts to percentages changes the numbers on the scale, but not the ranking of categories within this sample. Divide every count by the same total, 6060, and multiply by 100%100\%.

Cedar High: main travel method — parts of a whole

Pie chart · all 6060 sampled students form one whole

  • Bus: ≈33.3%\approx 33.3\% (2020 students)
  • Car: 40%40\% (2424 students)
  • Walk: 20%20\% (1212 students)
  • Bike: ≈6.7%\approx 6.7\% (44 students)
The slices use exact proportions; displayed percentages are rounded where needed. The whole circle represents 100%100\% of the sample. Invented teaching data.

Predict before reading on: Car has the longest bar and the largest slice. Does that mean a majority of these students travelled by car?

Check your prediction

No. Car accounts for 2460=40%\frac{24}{60} = 40\%, which is less than half. A majority requires more than 50%50\%. “Largest category” and “majority” are different claims.

Bar chart or pie chart: what does each show?

Frequency bar chart

Each bar represents a category. Its height or length shows the number of observations in that category.

Useful for: “How many sampled students travelled by car?” Answer: 2424.

Relative frequency bar chart

Each bar shows a category’s proportion or percentage of the stated group.

Useful for: “What share of the sample travelled by car?” Answer: 0.400.40, or 40%40\%.

Pie chart

The whole circle represents 100%100\% of the group. Each slice’s area is proportional to its category’s relative frequency.

Useful for seeing how a small number of categories divide one whole.

Categorical distribution

The category labels and their counts or relative frequencies describe how the observations are distributed.

Useful descriptions name common categories, uncommon categories and differences in shares.

Which display should you choose?

A table makes exact values easy to look up. A bar chart makes categories easy to compare because the bars start from a common baseline. A pie chart emphasizes parts of a whole, but close-sized slices can be harder to compare accurately.

Bar charts work vertically or horizontally. Horizontal bars are helpful when category names are long. For several groups, bar charts on a common percentage scale usually make small differences easier to judge than separate pie charts.

Pie-chart check: The categories must form nonoverlapping parts of the whole being displayed. A “select all that apply” survey can put one student in several categories, so its percentages of students may exceed 100%100\%. Use a suitably labeled bar chart rather than forcing those overlapping responses into a pie.

Category order has meaning only when the categories do

You can arrange unordered categories alphabetically, in a practical order, or by frequency. Reordering Bus and Car does not change the data. For ordered categories such as Low, Medium and High, keep the meaningful order. When comparing groups, use the same category order in each display.

Do not describe unordered travel-method categories as “left-skewed” or “right-skewed.” Moving the labels would change the apparent pattern. Means, medians and numerical spread are not appropriate summaries of these category labels.

How to construct a categorical graph

Build a bar chart in six steps

1. Start with a checked tableIdentify the variable, group and total. Verify the category counts.
2. Choose counts or sharesUse counts for “how many”; proportions or percentages for “what share.”
3. Label the graphGive it a useful title. Name the categories and label the numerical axis with its units.
4. Choose an honest scaleStart the bar-length scale at zero and use equal numerical intervals.
5. Draw separate barsUse equal bar widths and consistent gaps. Each bar ends at its category’s value.
6. Check and interpretMatch every bar to the table and write one supported statement in context.

For Cedar High, a count scale from 00 to 3030 students accommodates the largest count, 2424. The percentage chart uses 0%0\% to 50%50\%; the largest category is 40%40\%. A percentage bar chart’s axis does not have to end at 100%100\%, as long as it starts at zero, is clearly labeled and includes all the bars.

Build a pie chart from proportions

First identify the whole and calculate each category’s share. Then give each category the same fraction of the circle. If drawing slices with a protractor, use:

Slice angle=category proportion×360∘\text{Slice angle}=\text{category proportion}\times360^\circ

For Car: (2460)×360∘=144∘(\frac{24}{60}) \times 360^\circ = 144^\circ. Use the unrounded proportion to calculate the angle.

Exact slice angles for the Cedar High pie chart.
CategoryCalculationSlice angle
Bus(2060)×360∘(\frac{20}{60}) \times 360^\circ120∘120^\circ
Car(2460)×360∘(\frac{24}{60}) \times 360^\circ144∘144^\circ
Walk(1260)×360∘(\frac{12}{60}) \times 360^\circ72∘72^\circ
Bike(460)×360∘(\frac{4}{60}) \times 360^\circ24∘24^\circ
Total120∘+144∘+72∘+24∘120^\circ + 144^\circ + 72^\circ + 24^\circ360∘360^\circ

Label the slices directly or provide a clear legend and percentages. State the sample size. A 40%40\% slice represents 2424 students when n=60n = 60, but 4040 students when n=100n = 100. The percentage alone does not tell you the count.

Final checks: Each count bar matches its count; each percentage bar matches its share; and the pie contains one complete circle. Exact proportions total 11 and exact percentages total 100%100\%. Rounded labels can differ slightly from 100%100\%.

Compare groups using the right denominator

Suppose a separate fictional sample of 100100 Riverside High students records the same main travel method for the Tuesday being studied. Its counts are Bus 3030, Car 4040, Walk 2020 and Bike 1010. We now have two distributions of the same categorical variable, one for each sample.

Invented sample comparison. Percentages use each school’s own sample total.
MethodCedar High: n=60n = 60Riverside High: n=100n = 100
Bus2020 students; ≈33.3%\approx 33.3\%3030 students; 30%30\%
Car2424 students; 40%40\%4040 students; 40%40\%
Walk1212 students; 20%20\%2020 students; 20%20\%
Bike44 students; ≈6.7%\approx 6.7\%1010 students; 10%10\%
Compare travel-method shares, not just counts

Cedar High: n=60n = 60 · Riverside High: n=100n = 100 · same percentage scale

Bus
Cedar≈33.3%\approx 33.3\%
Riverside30%30\%
Car
Cedar40%40\%
Riverside40%40\%
Walk
Cedar20%20\%
Riverside20%20\%
Bike
Cedar≈6.7%\approx 6.7\%
Riverside10%10\%

Percentage within each school’s sample · category axis: Main travel method

Each category has two bars on the same zero-based scale. Each percentage uses its school’s own sample total. The data and exact values appear in the table above. Invented teaching data.

Counts answer one question; percentages answer another. Riverside has more sampled car travellers: 4040 versus 2424. However, Car represents the same share of each sample: 40100=2460=40%\frac{40}{100} = \frac{24}{60} = 40\%. Both statements are true.

In both samples, Car is the most common method and Walk accounts for 20%20\%. Cedar’s sample has a higher Bus percentage, approximately 33.3%33.3\% versus 30%30\%. Riverside’s sample has a higher Bike percentage, 10%10\% versus approximately 6.7%6.7\%.

Comparison checklist: Same variable and category definitions; each group’s own denominator; same category order; same numerical scale; and a sentence that names both groups.

Percentage points: describe the difference clearly

The Bike shares differ by approximately 10%−6.7%=3.3 percentage points10\%-6.7\%=3.3\,\text{percentage points}. A percentage-point difference subtracts two percentages. Saying “3.3%3.3\% higher” can be ambiguous because a relative percentage increase uses a different calculation.

These comparisons describe the recorded samples. A difference in sample bars alone does not establish a difference between all students at the two schools, and it does not explain why the samples differ. Sampling and inference determine what broader claims are justified.

Worked examples

Example 1: Construct two bar charts from one table

Question: Construct a count bar chart and a percentage bar chart for the Cedar High sample. Explain what changes and what stays the same.

  1. Identify the data. The variable is main travel method for 6060 sampled students. The counts are Bus 2020, Car 2424, Walk 1212 and Bike 44.
  2. Draw the count chart. Label the category axis “Main travel method” and the numerical axis “Number of sampled students.” Start at zero; draw separate equal-width bars ending at 2020, 2424, 1212 and 44.
  3. Convert to percentages. Divide by 6060, then multiply by 100%100\%. The values are approximately 33.3%33.3\%, 40%40\%, 20%20\% and 6.7%6.7\%.
  4. Draw the percentage chart. Keep the categories; label the numerical axis “Percentage of sampled students.” Use a zero baseline and consistent intervals.
  5. Explain the connection. The axis values change, but Car remains largest and Bike smallest. Each count has been multiplied by the same factor, 10060\frac{100}{60}.

Check your work: Compare your drawings with the two bar charts above. A 2424-student Car bar and a 40%40\% Car bar represent the same observations.

Example 2: Use a pie chart to evaluate a claim

Question: A student says, “Car is a majority because its slice is largest.” Evaluate the claim, then find the Walk slice angle.

  1. Read the share. Car is 2460=40%\frac{24}{60} = 40\% of the sample.
  2. Apply the meaning of majority. A majority is more than half. Since 40%<50%40\% < 50\%, the claim is not supported.
  3. Write a correction. “Car was the most common method among the sampled Cedar High students, but it was not used by a majority.”
  4. Find the Walk angle. Walk’s proportion is 1260=0.20\frac{12}{60} = 0.20. Its angle is 0.20×360∘=72∘0.20 \times 360^\circ = 72^\circ.

Reflect: 15\frac{1}{5} of the observations corresponds to 15\frac{1}{5} of the circle. The largest slice can still be smaller than half a circle.

Example 3: Compare samples of different sizes

Question: Riverside has 3030 sampled bus travellers and Cedar has 2020. Does Bus represent a higher proportion at Riverside? Justify your answer.

  1. Identify the totals. Riverside’s sample has 100100 students; Cedar’s has 6060.
  2. Calculate each sample share. Riverside: 30100=30%\frac{30}{100} = 30\%. Cedar: 2060\frac{20}{60} ≈33.3%\approx 33.3\%.
  3. Compare percentages. 33.3%33.3\% is greater than 30%30\%, so Cedar has the higher Bus proportion in these samples.
  4. Support the conclusion. “Although Riverside’s sample includes more bus travellers, Bus makes up a higher share of Cedar’s sample: approximately 33.3%33.3\% versus 30%30\%, a difference of about 3.33.3 percentage points.”

Reflect: A count comparison alone answers “how many,” not “what proportion.”

How to justify a claim in context

A strong answer includes a claim, numerical evidence and the group being described. If comparing samples, name both groups and compare the same category using the same type of value.

Weak answerImproved answer
“Car is biggest.”“Car was the most common main travel method among the 6060 sampled Cedar High students, with 2424 students, or 40%40\%.”
“Riverside uses cars more.”“Riverside’s sample included more car travellers, 4040 versus 2424, but Car represented 40%40\% of each sample.”
“Cedar is 3.33.3 higher.”“The Bus percentage was about 3.33.3 percentage points higher in Cedar’s sample: approximately 33.3%33.3\% versus 30%30\%.”
“Most Cedar students drive.”“Car was the largest category in Cedar’s sample, at 40%40\%. The graph records travel by car, not whether the student was driving, and does not by itself establish a claim about all enrolled students.”

Writing frame: “Among [recorded group], [category] accounted for [count or percentage], so [supported claim].”

Comparison frame: “For [same category], [group A] had [percentage] and [group B] had [percentage]. Therefore, [specific comparison], by [difference] percentage points.”

Common graph mistakes and how to correct them

Ignoring the axis label

Mistake: Reading a 20%20\% bar as 2020 students.

Fix: Check whether the graph shows counts, proportions or percentages. Use the sample size if converting between them.

Cutting off the zero baseline

Mistake: Bars for counts 2424 and 2020 begin at 1818, making one bar appear 33 times as long.

Fix: Start the bar scale at zero. The actual count ratio is 2420=1.2\frac{24}{20} = 1.2, not 33.

Comparing counts as if they were shares

Mistake: Saying 30100\frac{30}{100} is greater than 2060\frac{20}{60} because 30>2030 > 20.

Fix: Compare 30%30\% with approximately 33.3%33.3\%. Each denominator matters.

Forcing overlapping responses into a pie

Mistake: Making pie slices from a multiple-choice survey whose percentages of students total 150%150\%.

Fix: A pie must partition one whole. Use a bar chart with clearly stated counting rules for overlapping categories.

Making pictures distort the values

Mistake: Enlarging a bus icon in both height and width to represent twice the count, or using a tilted 3D pie.

Fix: Use a flat, labeled graph. Doubling both dimensions quadruples an icon’s area; perspective can also make slices appear unequal.

Confusing bar charts with histograms

Mistake: Treating Bus, Car, Walk and Bike as numerical intervals.

Fix: Categorical bars represent separate labels. Histograms represent quantitative values grouped into intervals; you will study them in Topic 1.5.

Try a correction: “Riverside’s 4040 car travellers prove cars are more popular there than at Cedar, where only 2424 students travelled by car.”

Show the corrected reasoning

The car counts differ, but the percentages are equal: 40100=2460=40%\frac{40}{100} = \frac{24}{60} = 40\%. The data show equal Car shares in the two samples. The counts alone do not establish that Car has a higher population proportion at Riverside.

Check your understanding: practice with solutions

These are original AP-style practice questions. Sketch graphs on paper where requested, including a title, category labels and a numerical scale. Try each question before opening its answer.

1. Construct a bar chart

4040 students each select one after-school activity: Art 1818, Sport 1414 or Music 88. Construct a frequency bar chart. Then give Art’s percentage and explain whether it is a majority.

Hint

The numerical axis should show students and start at zero. For Art’s percentage, divide 1818 by 4040 and multiply by 100%100\%.

Solution and reasoning

A correct chart has separate, equal-width bars ending at Art 1818, Sport 1414 and Music 88, with a consistent zero-based count scale.

After-school activity among 4040 sampled students

Frequency bar chart · one activity per student

Art1818
Sport1414
Music88

Number of sampled students · category axis: Activity

Read each category against the zero-based scale. Art 1818; Sport 1414; Music 88. Sample size: 4040. Invented teaching data.

Art’s percentage is (1840)×100%=45%(\frac{18}{40}) \times 100\% = 45\%. Art is the largest category, but it is not a majority because 45%45\% is below 50%50\%.

2. Build pie-chart slices

Using the activity counts from Question 1, calculate the percentage and slice angle for Art, Sport and Music. Check that the angles make a whole circle.

Hint

For each category, calculate count40\frac{\text{count}}{40}. Multiply by 100%100\% for its percentage or by 360∘360^\circ for its slice angle.

Solution and reasoning

Art: 1840=45%\frac{18}{40} = 45\%, angle 162∘162^\circ. Sport: 1440=35%\frac{14}{40} = 35\%, angle 126∘126^\circ. Music: 840=20%\frac{8}{40} = 20\%, angle 72∘72^\circ. Check: 45%+35%+20%=100%45\% + 35\% + 20\% = 100\%, and 162∘+126∘+72∘=360∘162^\circ + 126^\circ + 72^\circ = 360^\circ.

3. Read a relative frequency scale

A relative frequency bar chart shows Tea at 0.350.35, Coffee at 0.500.50 and Water at 0.150.15 for 8080 recorded customers. How many selected Tea? Explain what the Tea bar represents.

Hint

A proportion of 0.350.35 is 35%35\%, not 0.350.35 people. Multiply the share by the total to find the count.

Solution and reasoning

Tea count=0.35×80=28\text{Tea count}=0.35\times80=28 customers. The Tea bar means that 35%35\% of these 8080 customers selected Tea. Its height represents a relative frequency, not a count of 3535 customers.

4. Spot a misleading baseline

A graph compares category counts 2424 and 2020, but its bar-length axis starts at 1818. One visible bar is 66 units long and the other is 22 units long. A reader concludes that the first count is 33 times the second. Explain the problem and give the correct count ratio.

Hint

The visible lengths show each value minus 1818, not the original values. Compare the counts themselves.

Solution and reasoning

The truncated baseline exaggerates the difference: 62=3\frac{6}{2} = 3 compares distances above 1818. The actual count ratio is 2420=1.2\frac{24}{20} = 1.2. The first count is 1.21.2 times the second. Redraw the bars from zero to represent the counts honestly.

5. Compare two samples fairly

In sample A, 1818 of 4040 students select Art. In sample B, 2424 of 8080 select Art. Which sample has more Art selections? Which has the higher Art proportion? Suggest a useful graph for comparing the shares.

Hint

Answer “how many” with counts and “what share” with proportions. Use each sample’s own total.

Solution and reasoning

Sample B has more Art selections: 2424 versus 1818. Sample A has the higher Art share: 1840=45%\frac{18}{40} = 45\%, compared with 2480=30%\frac{24}{80} = 30\% in B, a difference of 1515 percentage points. A percentage bar chart with both samples on the same zero-based scale makes that comparison clear.

6. Choose a graph for overlapping categories

100100 students select every club they attend. 6060 select Sport, 5050 Music and 4040 Art, with some students selecting several clubs. A student proposes pie slices of 60%60\%, 50%50\% and 40%40\%. Is that a valid pie chart of the students? What should be used instead?

Hint

The same student can contribute to more than one category. Check whether the proposed slices partition 100%100\% of the students.

Solution and reasoning

No. The percentages total 150%150\% because the student groups overlap, so they do not form disjoint parts of one circle representing the 100100 students. Use a bar chart of counts or percentages, clearly labeled as club attendance with multiple selections allowed. A different chart of the 150150 total selections would have a different denominator and answer a different question.

Quick revision notes

  • Count bar chart: bar height or length=category frequency\text{bar height or length}=\text{category frequency}.
  • Relative frequency bar chart: bar height or length=category proportion or percentage\text{bar height or length}=\text{category proportion or percentage}.
  • Read first: title, recorded group, sample size, categories and axis units.
  • Construct carefully: a zero baseline, equal numerical intervals, equal-width separate bars and clear labels.
  • Pie chart: each slice is a share of one whole; exact percentages total 100%100\%.
  • Pie angle: category proportion×360∘\text{category proportion}\times360^\circ; exact angles total 360∘360^\circ.
  • Compare shares: divide by each group’s own total and use a common scale.
  • Difference in percentages: report percentage points when subtracting percentages.
  • Largest category: not necessarily a majority; majority means more than 50%50\%.
  • Justify a claim: name the category and group, give numerical evidence, and stay within what the data support.

Three questions to remember: What does the scale measure? What is the whole? Do my numbers support my claim?

Final understanding check

A school surveys 5050 students about their preferred class format. The single-choice responses are In-person 2626, Online 1515 and Hybrid 99. Another school surveys 100100 students, with In-person 4545, Online 3535 and Hybrid 2020. All data are invented for practice.

  1. Describe how to construct a percentage bar chart for the first sample, giving the three bar values.
  2. Calculate the Hybrid slice angle for a pie chart of the first sample.
  3. Is In-person a majority in the first sample? Justify with numerical evidence.
  4. Compare the In-person shares in the two samples. Explain why comparing 2626 with 4545 alone would not answer this question.
Show a complete answer

1. Title the chart “Preferred class format among 5050 sampled students.” Label the categories In-person, Online and Hybrid and the numerical axis “Percentage of sampled students.” Use separate equal-width bars from zero ending at 52%52\%, 30%30\% and 18%18\%, with equal numerical intervals.

2. Hybrid angle=950×360∘=64.8∘\text{Hybrid angle}=\frac{9}{50}\times360^\circ=64.8^\circ.

3. Yes. In-person is 2650=52%\frac{26}{50} = 52\%, which is more than 50%50\%, so it has a majority in the first sample.

4. The In-person shares are 52%52\% in the first sample and 45%45\% in the second. The first sample’s share is 77 percentage points higher. The second sample has more In-person responses, 4545 versus 2626, but also twice as many students. Counts alone do not compare shares.

Self-check: Did you label percentages, use each sample’s own denominator, and support every claim with a number? If yes, you have the main reasoning skills for this topic.

Continue learning

Previous lesson: Topic 1.3: Tabular Representation and Summary Statistics for One Categorical Variable. Review counts and proportions when a graph’s scale is unclear.

Review graph construction · Review sample comparisons · Back to the lesson overview