Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›AP Statistics
  3. ›1 Exploring One-Variable Data and Collecting Data
  4. ›1.4 One categorical variable: graphs

AP Statistics · Unit 1 · Exploring One-Variable Data and Collecting Data

1.4 One categorical variable: graphs

Create and interpret bar charts and pie charts, and compare categorical distributions using relative frequencies.

  • 4 min read
  • 5 parts
  • 10 questions
  • Draft
Start a Quick 5 on this topic→Jump to the 10 questions
1/5A bar chart shows the distribution of one categorical variable
  1. 1A bar chart shows the distribution of one categorical variable
  2. 2Careful construction keeps a bar chart honest
  3. 3A pie chart shows categories as parts of one whole
  4. 4Relative frequencies let us compare groups of different sizes
  5. 5A good comparison names the groups and uses proportions
  6. Check your recall
  7. Practice: 10 questions
1

Part 1 of 5: A bar chart shows the distribution of one categorical variable

Take a survey of 30 students who each name a favorite pet. A graph can show the answers at a glance. The distribution of a categorical variable lists its categories and how often each occurs.

A bar chart draws one bar for each category. The bar’s height shows the frequency or relative frequency. The tallest bar marks the most common category, and the shortest marks the least common. Counts and relative frequencies give the same shape. Only the scale on the vertical axis changes.

Figure 1. Each bar shows how many students chose one pet, and the bars are separated by equal gaps.

Key terms · tap one for its definition

distribution

The distribution of a categorical variable is the list of its categories together with the frequency or relative frequency of each.

bar chart

A bar chart is a graph with one bar per category, equal widths, gaps between bars, and heights showing frequency or relative frequency.

Part 1 done

2

Part 2 of 5: Careful construction keeps a bar chart honest

A bar chart is only as trustworthy as the way it is drawn. Follow these rules, which keep the bars easy to compare and the heights truthful:

  • Give every bar the same width
  • Leave equal gaps between bars
  • Start the vertical axis at 0
  • Use equal steps on the vertical scale
  • Label both axes and add a title

The vertical axis can show counts or relative frequencies, the share of individuals in each category. Relative frequencies give the same shape and are easier to compare across groups.

Exam tip

Name the variable on the horizontal axis and label every category. A graph without labels cannot be interpreted.

Part 2 done

Quick check

One question on the part you just read

Easy

Identify what the height of a bar in a bar chart represents.
Show answer and explanation

Answer: A · Worked explanation

In a bar chart, each bar stands for one category, and its height shows how many individuals, or what share of them, fall in that category. Bars do not show the order of collection or the number of categories, and a categorical variable has no numerical value for each individual.
3

Part 3 of 5: A pie chart shows categories as parts of one whole

Bar charts are not the only way to show a distribution. A pie chart is a circle divided into slices, one for each category. Each slice is a sector, and its angle is proportional to the category’s relative frequency.

In words, the angle is the relative frequency times 360 degrees. In symbols:

angle=relative frequency×360∘\mathrm{angle}=\mathrm{relative\,frequency}\times360^{\circ}angle=relativefrequency×360∘

Worked example

Sector angles for pets

In the survey of 30 students, 12 chose dogs, 9 cats, 4 fish, and 5 other. Find each sector angle.
  1. 1
    Dogs: 1230×360∘=0.40×360∘=144∘\frac{12}{30}\times360^{\circ}=0.40\times360^{\circ}=144^{\circ}3012​×360∘=0.40×360∘=144∘.
  2. 2
    Cats: 930×360∘=0.30×360∘=108∘\frac{9}{30}\times360^{\circ}=0.30\times360^{\circ}=108^{\circ}309​×360∘=0.30×360∘=108∘.
  3. 3
    Fish: 430×360∘=48∘\frac{4}{30}\times360^{\circ}=48^{\circ}304​×360∘=48∘.
  4. 4
    Other: 530×360∘=60∘\frac{5}{30}\times360^{\circ}=60^{\circ}305​×360∘=60∘.
  5. 5
    Check: 144∘+108∘+48∘+60∘=360∘144^{\circ}+108^{\circ}+48^{\circ}+60^{\circ}=360^{\circ}144∘+108∘+48∘+60∘=360∘.

Answer: The sectors measure 144∘144^{\circ}144∘, 108∘108^{\circ}108∘, 48∘48^{\circ}48∘, and 60∘60^{\circ}60∘.

Common mistake

Pie charts suit only categories that together make up a whole. They also make slices of similar size hard to compare, which a bar chart does better.

Key terms · tap one for its definition

pie chart

A pie chart is a circle divided into sectors whose angles are proportional to relative frequencies and sum to 360∘360^{\circ}360∘.

sector

A sector is one slice of a pie chart, with a central angle equal to the category’s relative frequency times 360∘360^{\circ}360∘.

Part 3 done

4

Part 4 of 5: Relative frequencies let us compare groups of different sizes

Often we compare two groups, such as two classes. Class A has 20 students and Class B has 50. Counts in Class B will be larger even if the classes are alike. Its bars would dwarf those for Class A. Relative frequencies remove that difference.

A side-by-side bar chart places each group’s bars next to one another within every category. A segmented bar chart uses one bar per group, split into segments. Each bar represents 100% of its group. Both graphs make the comparison visible. The side-by-side chart pairs the bars for each category, while the segmented chart shows a whole distribution in one bar.

Worked example

Comparing two classes

Class A (20 students): 10 dogs, 6 cats, 4 other. Class B (50 students): 20 dogs, 20 cats, 10 other. Compare their distributions.
  1. 1
    Class A: 1020=0.50\frac{10}{20}=0.502010​=0.50, 620=0.30\frac{6}{20}=0.30206​=0.30, 420=0.20\frac{4}{20}=0.20204​=0.20.
  2. 2
    Class B: 2050=0.40\frac{20}{50}=0.405020​=0.40, 2050=0.40\frac{20}{50}=0.405020​=0.40, 1050=0.20\frac{10}{50}=0.205010​=0.20.
  3. 3
    Compare category by category using these shares.

Answer: Dogs are more popular in Class A (50% against 40%), cats are less popular (30% against 40%), and “other” is the same (20%).

Key terms · tap one for its definition

side-by-side bar chart

A side-by-side bar chart is a bar chart with separate bars for each group placed next to one another within each category.

segmented bar chart

A segmented bar chart is a graph with one bar per group, split into segments whose lengths show each category’s relative frequency.

Part 4 done

Quick check

One question on the part you just read

Easy

Identify the feature of a correctly drawn bar chart.
Show answer and explanation

Answer: B · Worked explanation

Bars of equal width with gaps emphasize that the categories are separate groups. A vertical axis that starts above 0 exaggerates differences between bars. Making larger categories wider changes the area and misleads the reader, because only the height should carry the information.
5

Part 5 of 5: A good comparison names the groups and uses proportions

Once the graph is drawn, the next step is to describe it in words. Begin with the modal category for each group, then note where the groups differ most. Describe the largest and smallest categories as well.

Write each statement in context, using proportions or percentages. For example: “Dogs were the most popular pet in Class A and tied with cats in Class B, but a larger share of Class A chose them.”

Common mistake

Do not claim a group has more of something just because its bar is taller. When group sizes differ, compare shares instead.

Key term

modal category

The modal category is the category of a categorical variable that has the largest frequency or relative frequency.

Note read

Check your recall[12 marks]

5 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.Describe[2 marks]

    Describe two features of a correctly drawn bar chart.

    Show mark schemeHide mark scheme

    Model answer

    The bars have equal widths with gaps between them. The vertical axis starts at 0, and both axes are labeled.

    • 1 mark for describing one correct feature such as equal bar widths with gaps
    • 1 mark for describing a second correct feature such as a vertical axis starting at 0 or labeled axes and title
  2. 2.Calculate[2 marks]

    In a survey of 60 individuals, 21 chose one category. Calculate the sector angle for that category in a pie chart.

    Show mark schemeHide mark scheme

    Model answer

    Relative frequency is 2160=0.35\frac{21}{60}=0.356021​=0.35. The angle is 0.35×360∘=126∘0.35\times360^{\circ}=126^{\circ}0.35×360∘=126∘.

    • 1 mark for finding the relative frequency 0.35
    • 1 mark for multiplying by 360∘360^{\circ}360∘ to obtain 126∘126^{\circ}126∘
  3. 3.Explain[2 marks]

    Explain one reason a bar chart can be easier to read than a pie chart when categories are similar in size.

    Show mark schemeHide mark scheme

    Model answer

    Bars share a common baseline, so their heights can be compared directly. Slices of similar angle are hard to tell apart by eye.

    • 1 mark for stating that bars share a baseline so heights compare directly
    • 1 mark for stating that slices of similar size are hard to distinguish
  4. 4.Compare[3 marks]

    Group A has 40 members, and 10 of them prefer tea. Group B has 80 members, and 30 of them prefer tea. Compare how common tea preference is in the two groups.

    Show mark schemeHide mark scheme

    Model answer

    In Group A, 1040=0.25\frac{10}{40}=0.254010​=0.25 prefer tea. In Group B, 3080=0.375\frac{30}{80}=0.3758030​=0.375 prefer tea. Tea preference is more common in Group B, 37.5% against 25%.

    • 1 mark for calculating the relative frequency 0.25 for Group A
    • 1 mark for calculating the relative frequency 0.375 for Group B
    • 1 mark for stating that tea preference is more common in Group B, using the proportions
  5. 5.Justify[3 marks]

    Justify why a segmented bar chart should show relative frequencies, not counts, when comparing two groups of different sizes.

    Show mark schemeHide mark scheme

    Model answer

    Counts depend on group size, so the larger group has bigger bars even when its shares are the same. Relative frequencies divide by each group’s total, so each bar represents 100%. The segments then show whether the distributions really differ.

    • 1 mark for stating that counts depend on group size
    • 1 mark for explaining that relative frequencies divide by each group’s total
    • 1 mark for concluding that the segments then allow a fair comparison of the distributions

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the 2 quick checks in the note above.

3.

Easy·Identify[1 mark]

Identify when a pie chart is most appropriate.
Show answer and explanation

Answer: C · Worked explanation

A pie chart shows parts of a single whole, so the categories must together account for every individual once. Similar-sized slices are hard to compare, so a bar chart is better for that. Overlapping categories would add to more than 100%, which a circle cannot show.
4.

Medium·Calculate[1 mark]

Calculate the sector angle for a category with 21 of 60 individuals in a pie chart.
Show answer and explanation

Answer: D · Worked explanation

The relative frequency is 2160=0.35\frac{21}{60}=0.356021​=0.35, and 0.35×360∘=126∘0.35\times360^{\circ}=126^{\circ}0.35×360∘=126∘. The value 35∘35^{\circ}35∘ uses the percent as degrees without multiplying by 360. The value 21∘21^{\circ}21∘ uses the count as degrees. The value 234∘234^{\circ}234∘ is the angle for the 39 individuals outside the category.
5.

Medium·Determine[1 mark]

In a survey of 80 students, 32 take the bus, 24 walk, 16 ride in a car, and 8 bike. Determine the percent who walk.
Show answer and explanation

Answer: B · Worked explanation

The relative frequency of walking is 2480=0.30\frac{24}{80}=0.308024​=0.30, or 30%. The value 24% treats the count as a percent. The value 75% is 2432\frac{24}{32}3224​, which divides by the bus count and not the total. The value 40% is the bus share, 3280\frac{32}{80}8032​.
6.

Medium·Predict[1 mark]

A bar chart’s vertical axis starts at 40 instead of 0. Predict the effect on how the chart looks.
Show answer and explanation

Answer: C · Worked explanation

Cutting off the axis shortens every bar by the same amount, so a bar that is a little taller looks many times taller. Heights are judged from the baseline, which is why the baseline matters. The order of categories is chosen by the person drawing the chart and does not change.
7.

Medium·Compare[1 mark]

School A has 200 students and 80 prefer pizza. School B has 50 students and 30 prefer pizza. Compare the schools.
Show answer and explanation

Answer: A · Worked explanation

School A: 80200=0.40\frac{80}{200}=0.4020080​=0.40. School B: 3050=0.60\frac{30}{50}=0.605030​=0.60. Comparing shares favors School B, even though School A has more pizza fans in total. The figures 80% and 30% are just the counts written as percents, with no division by each school’s total.
8.

Hard[2 marks]

A segmented bar chart shows Group X and Group Y, each with segments of 25%, 50%, and 25%. Group X has 40 members and Group Y has 400 members. Which statement is correct?
Show answer and explanation

Answer: D · Worked explanation

Each bar represents 100% of its group, so the segments show relative frequencies. Identical segments mean identical distributions, regardless of group size. Group Y has more individuals in each category, but that reflects its size and not a different distribution. Relative frequencies exist so unequal groups can be compared.
9.

Hard·Identify[2 marks]

A student draws a pie chart with sectors of 150∘150^{\circ}150∘, 120∘120^{\circ}120∘, and 100∘100^{\circ}100∘. Identify the problem.
Show answer and explanation

Answer: B · Worked explanation

Sector angles must sum to 360∘360^{\circ}360∘, because the sectors fill one whole circle. Here 150∘+120∘+100∘=370∘150^{\circ}+120^{\circ}+100^{\circ}=370^{\circ}150∘+120∘+100∘=370∘, so the chart is impossible as drawn. Sectors need not be equal, since they depend on relative frequencies, and a sector may exceed 180∘180^{\circ}180∘ when its category holds more than half the individuals.
10.

Hard·Determine[2 marks]

A relative frequency bar chart of 80 individuals has three bars with heights 0.35, 0.25, and 0.30. A fourth category’s bar is missing. Determine how many individuals are in the fourth category.
Show answer and explanation

Answer: A · Worked explanation

The three bars sum to 0.35+0.25+0.30=0.900.35+0.25+0.30=0.900.35+0.25+0.30=0.90, so the missing relative frequency is 1−0.90=0.101-0.90=0.101−0.90=0.10. Then 0.10×80=80.10\times80=80.10×80=8 individuals. The value 10 reads the missing 10% as a count of 10 individuals. The value 0.10 is the relative frequency, not a count, and 72 is the number in the other three categories.

Keep going

Next topic1.5 One quantitative variable: graphsPrevious topic1.3 One categorical variable: tables and summaries

More in Unit 1 · Exploring One-Variable Data and Collecting Data

  1. 1.1What data can tell usNotes · 10 questions
  2. 1.2VariablesNotes · 10 questions
  3. 1.3One categorical variable: tables and summariesNotes · 10 questions
  4. 1.4One categorical variable: graphsNotes · 10 questions
  5. 1.5One quantitative variable: graphsNotes · 10 questions
  6. 1.6Describing a distributionNotes · 10 questions
  7. 1.7Summary statisticsNotes · 10 questions
  8. 1.8Boxplots and summary graphsNotes · 10 questions
  9. 1.9Comparing distributionsNotes · 10 questions

All AP Statistics topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by College Board or any exam board.

On this page

0/5 read

  1. 1A bar chart shows the distribution of one categorical variable
  2. 2Careful construction keeps a bar chart honest
  3. 3A pie chart shows categories as parts of one whole
  4. 4Relative frequencies let us compare groups of different sizes
  5. 5A good comparison names the groups and uses proportions
  6. Check your recall
  7. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe