Fatskills
Practice. Master. Repeat.
Study Guide: AP Statistics (AP Stats): Graphs for Categorical Data (Bar, Pie, Segmented Bar)
Source: https://www.fatskills.com/ap-statistics/chapter/ap-stats-ap-statistics-graphs-for-categorical-data-bar-pie-segmented-bar

AP Statistics (AP Stats): Graphs for Categorical Data (Bar, Pie, Segmented Bar)

By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.

⏱️ ~6 min read

AP Statistics – Graphs for Categorical Data (Bar, Pie, Segmented Bar)

AP Statistics: Graphs for Categorical Data (Bar, Pie, Segmented Bar) – Exam-Ready Study Guide

What This Is

Graphs for categorical data—bar charts, pie charts, and segmented bar charts—visually display the distribution of a single categorical variable or compare distributions across groups. These graphs are essential for summarizing survey results, market research, or experimental outcomes (e.g., comparing voter preferences across age groups, analyzing brand loyalty by region, or displaying the proportion of students in different AP classes). On the AP exam, you’ll need to interpret, construct, and critique these graphs, often in the context of a larger problem (e.g., a chi-square test or comparing proportions).


Key Terms & Formulas

  • Categorical variable: A variable that places individuals into groups (e.g., gender, political party, brand preference).
  • Frequency table: A table showing the count of individuals in each category.
  • Relative frequency table: A table showing the proportion or percentage of individuals in each category.
  • Bar chart: A graph where the height of each bar represents the frequency or relative frequency of a category. Bars do not touch (unlike histograms for quantitative data).
  • Pie chart: A circular graph where each "slice" represents a category’s proportion of the whole. Best for showing parts of a single whole (e.g., budget breakdown).
  • Segmented bar chart: A bar chart where each bar is divided into segments representing subcategories (e.g., comparing survey responses across two groups). Useful for comparing distributions.
  • Marginal distribution: The distribution of one categorical variable in a two-way table (e.g., total counts for each row or column).
  • Conditional distribution: The distribution of one variable given a specific value of another variable (e.g., "What percent of Democrats support Policy X?").
  • Association: Two categorical variables are associated if the conditional distributions differ across categories (e.g., voting preference differs by gender).
  • Calculator commands (TI-84):
  • STAT-EDIT-Enter categories in L1 and counts in L2.
  • 2nd-Y= (STAT PLOT)-Plot1-On-Type: Bar (?) or Pie (?).
  • For segmented bar charts, use STAT-CALC-1-Var Stats to find relative frequencies, then graph manually.

Step-by-Step / Process Flow

How to Analyze or Construct a Graph for Categorical Data (AP FRQ Style)

  1. Identify the variables and context
  2. Determine if the data is univariate (one variable, e.g., favorite ice cream flavor) or bivariate (two variables, e.g., ice cream flavor by gender).
  3. Example: A survey asks 200 students their favorite sport (basketball, soccer, or tennis) and their grade level (9th, 10th, 11th, 12th).

  4. Choose the appropriate graph

  5. Single categorical variable: Bar chart or pie chart.
  6. Comparing distributions across groups: Segmented bar chart or side-by-side bar chart.
  7. Example: To compare sports preferences by grade, use a segmented bar chart.

  8. Calculate relative frequencies (if needed)

  9. For a segmented bar chart, compute the conditional distribution of the response variable for each group.
  10. Example: What percent of 9th graders prefer basketball? (Count of 9th-grade basketball fans / Total 9th graders).

  11. Construct the graph

  12. Bar chart: Label axes (x-axis = categories, y-axis = frequency/relative frequency). Bars should be equal width and not touch.
  13. Pie chart: Convert counts to percentages. Use 2nd-Y=-Pie on TI-84 (enter counts in L2).
  14. Segmented bar chart: Draw a bar for each group (e.g., grade level), then divide each bar into segments representing the response categories (e.g., sports).

  15. Interpret the graph

  16. Look for patterns, trends, or associations.
  17. Example: "The segmented bar chart shows that 12th graders prefer tennis more than 9th graders, suggesting an association between grade level and sport preference."

  18. Critique the graph (if asked)

  19. Common issues:
    • Pie charts with too many slices (hard to read).
    • Bars not starting at 0 (misleading heights).
    • Missing labels or units.

Common Mistakes

  • Mistake: Using a pie chart to compare two different groups (e.g., pie charts for "boys' favorite sports" and "girls' favorite sports" side by side). Correction: Pie charts show parts of a single whole. Use a segmented bar chart or side-by-side bar chart to compare groups.

  • Mistake: Forgetting to label axes or include a key for segmented bar charts. Correction: Always label axes (e.g., "Grade Level" on x-axis, "Relative Frequency" on y-axis) and include a legend for segments.

  • Mistake: Assuming association implies causation (e.g., "More seniors prefer tennis, so being a senior causes a preference for tennis"). Correction: Association-causation. Other variables (e.g., exposure to sports in PE class) may explain the relationship.

  • Mistake: Using counts instead of relative frequencies in segmented bar charts. Correction: Segmented bar charts should use relative frequencies (percentages) to compare groups of different sizes.

  • Mistake: Drawing bars with unequal widths in a bar chart. Correction: All bars must have the same width to avoid distorting the data.


AP Exam Insights

  • What’s frequently tested?
  • Interpreting segmented bar charts (e.g., "Does the graph show an association between X and Y?").
  • Critiquing graphs (e.g., "Explain why a pie chart is not appropriate for these data").
  • Calculating conditional distributions from a two-way table (common in chi-square test questions).
  • Comparing distributions (e.g., "Which group has the highest proportion of ‘Yes’ responses?").

  • Tricky distinctions:

  • Bar chart vs. histogram: Bar charts are for categorical data; histograms are for quantitative data.
  • Marginal vs. conditional distribution: Marginal = totals; conditional = "given" a specific category.
  • Association vs. causation: Just because two variables are associated doesn’t mean one causes the other.

  • Calculator pitfalls:

  • Forgetting to turn on Plot1 before graphing.
  • Using counts instead of percentages for pie charts (TI-84 requires counts in L2).
  • Mislabeling axes (e.g., "Frequency" vs. "Relative Frequency").

  • Common FRQ setups:

  • Given a two-way table, construct a segmented bar chart and describe the association.
  • Critique a poorly made graph (e.g., "Why is this pie chart misleading?").
  • Compare two distributions using relative frequencies.

Quick Check Questions

1. Multiple Choice

A survey of 150 high school students records their favorite social media platform (Instagram, TikTok, Snapchat) and their grade level (9th, 10th, 11th, 12th). Which graph is most appropriate to compare the distribution of favorite platforms across grade levels? (A) Pie chart (B) Side-by-side bar chart (C) Segmented bar chart (D) Histogram

Answer: (C) Segmented bar chart. Explanation: A segmented bar chart shows the conditional distribution of favorite platforms for each grade level, making comparisons easy.


2. FRQ (Interpretation)

The segmented bar chart below shows the distribution of preferred study methods (Flashcards, Practice Problems, Re-reading Notes) for students who passed and failed an AP exam.

Study Method Passed Failed
Flashcards 40% 10%
Practice Problems 50% 30%
Re-reading Notes 10% 60%

Question: Does the graph suggest an association between study method and exam outcome? Justify your answer.

Answer: Yes, there is an association. Explanation: The conditional distributions differ: Students who passed were more likely to use flashcards or practice problems, while those who failed were more likely to re-read notes.


Last-Minute Cram Sheet

  1. Bar chart: Categorical data; bars do not touch; label axes.
  2. Pie chart: Shows parts of a single whole; convert counts to percentages.
  3. Segmented bar chart: Compares distributions across groups; use relative frequencies.
  4. Marginal distribution: Totals for rows/columns in a two-way table.
  5. Conditional distribution: Distribution of one variable given another (e.g., "What % of Group A chose Option X?").
  6. Association: Conditional distributions differ across groups.
  7. Never use a pie chart to compare two groups—use a segmented bar chart.
  8. Always label axes and include a key for segmented bar charts.
  9. TI-84 bar chart: STAT-EDIT (L1 = categories, L2 = counts)-2nd-Y=-Plot1-Bar.
  10. TI-84 pie chart: Enter counts in L2, then 2nd-Y=-Plot1-Pie.