Bar Graphs
Interactive curriculum lessons, worked examples, and geometric problem-solving techniques designed to help Kenyan students master CBC, KPSEA, KCSE, and IGCSE mathematics.
First Principles
Objective: Construct and interpret bar graphs accurately from data sets.
Core Analogy: Think of a bar graph as a row of graduated measuring cylinders. Each cylinder represents a category, and the fluid level visually shows the exact quantity. A bar graph converts raw numbers into clear visual heights for quick comparison.
Concrete Scenario: Imagine asking Grade 6 learners to vote on their favourite school lunch: Githeri, Rice & Beans, Ugali & Fish, or Chapati. Recording the counts in a tally sheet works, but converting those counts into vertical bars lets anyone instantly spot the winner.
Geometric Insight: Every category gets a rectangular bar. The bar's height directly represents the value. For fair comparisons, all bars must maintain identical width and spacing.
Algebraic Rule: Given a vertical axis from \(0\) to maximum value \(v_{\max}\) and total chart height \(H\), the individual bar height \(h_i\) is calculated as: \[ h_i = \frac{v_i}{v_{\max}} \times H \]
Live Bar Builder — Favourite School Lunch
Drag each slider to adjust voter count. Observe real-time bar height scaling.
Next lesson: Pie charts — turning the same data into circular slices that show each category's percentage of the whole.
Key Formulas
Worked Examples
Problem: In a class of 30 learners, 12 chose Githeri. If a bar graph has a maximum axis value of 12 and a chart height of 10 cm, how tall should the Githeri bar be?
- Identify inputs: \(v_{\text{Githeri}} = 12\), \(v_{\max} = 12\), \(H = 10\text{ cm}\).
- Apply formula: \[ h = \frac{12}{12} \times 10 = 10\text{ cm} \]
- Conclusion: Since Githeri represents the maximum value, its bar occupies the full chart height of 10 cm.
Answer: \( 10\text{ cm} \)
Problem: Out of 30 surveyed learners, 12 preferred Githeri, 10 preferred Rice & Beans, and 8 preferred Chapati. What percentage chose Rice & Beans?
- Calculate total voters: \(12 + 10 + 8 = 30\).
- Compute fraction: \(\frac{10}{30} = \frac{1}{3}\).
- Convert to percentage: \[ p = \frac{1}{3} \times 100 \approx 33.33\% \]
Answer: \( 33.33\% \)
Problem: A chart of height 12 cm has a maximum scale of 60 learners. The Ugali & Fish bar is 12 cm tall, and the Chapati bar is 5 cm tall. How many learners chose Chapati, and what is the ratio of Ugali & Fish to Chapati?
- Calculate scale factor: \[ s = \frac{12\text{ cm}}{60\text{ learners}} = 0.2\text{ cm per learner} \]
- Determine Chapati count: \[ v_{\text{Chapati}} = \frac{5\text{ cm}}{0.2\text{ cm/learner}} = 25\text{ learners} \]
- Calculate ratio: Ugali & Fish (60) : Chapati (25) = \(60 : 25 = 12 : 5\).
Answer: \( 25\text{ learners}, \text{ Ratio } 12:5 \)
Common Mistakes
Real World
Practice