MathMastery.Beta
Learning Resources

Bar Graphs

Interactive curriculum lessons, worked examples, and geometric problem-solving techniques designed to help Kenyan students master CBC, KPSEA, KCSE, and IGCSE mathematics.

Grade 06 Pathway: N/A

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.

Learners
Bar height = value ÷ max × chart height
All bars must have equal width and equal gaps
Always start the vertical axis at zero

Next lesson: Pie charts — turning the same data into circular slices that show each category's percentage of the whole.

Key Formulas

\[ h_i = \frac{v_i}{v_{\max}} \times H \] — Height of bar \(i\) equals category value divided by maximum axis value, multiplied by chart height.
\[ s = \frac{H}{v_{\max}} \] — Scale factor converting raw unit counts into physical height (e.g., cm per learner).
\[ V_{\text{total}} = \sum_{i=1}^{n} v_i \] — Grand total calculated by summing all individual category values.
\[ p_i = \frac{v_i}{V_{\text{total}}} \times 100 \] — Percentage contribution of category \(i\) relative to the total survey size.
\[ \text{ratio}_{a:b} = \frac{v_a}{v_b} \] — Direct numerical ratio comparing two categories in simplest form.

Worked Examples

Example 1 (Easy): Draw a Bar Height

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?

  1. Identify inputs: \(v_{\text{Githeri}} = 12\), \(v_{\max} = 12\), \(H = 10\text{ cm}\).
  2. Apply formula: \[ h = \frac{12}{12} \times 10 = 10\text{ cm} \]
  3. Conclusion: Since Githeri represents the maximum value, its bar occupies the full chart height of 10 cm.

Answer: \( 10\text{ cm} \)

Example 2 (Medium): Percentage Share

Problem: Out of 30 surveyed learners, 12 preferred Githeri, 10 preferred Rice & Beans, and 8 preferred Chapati. What percentage chose Rice & Beans?

  1. Calculate total voters: \(12 + 10 + 8 = 30\).
  2. Compute fraction: \(\frac{10}{30} = \frac{1}{3}\).
  3. Convert to percentage: \[ p = \frac{1}{3} \times 100 \approx 33.33\% \]

Answer: \( 33.33\% \)

Example 3 (Hard): Reverse Scale Factor & Ratio

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?

  1. Calculate scale factor: \[ s = \frac{12\text{ cm}}{60\text{ learners}} = 0.2\text{ cm per learner} \]
  2. Determine Chapati count: \[ v_{\text{Chapati}} = \frac{5\text{ cm}}{0.2\text{ cm/learner}} = 25\text{ learners} \]
  3. Calculate ratio: Ugali & Fish (60) : Chapati (25) = \(60 : 25 = 12 : 5\).

Answer: \( 25\text{ learners}, \text{ Ratio } 12:5 \)

Common Mistakes

Mistake Drawing bars with unequal widths or random spacing.
Correction Maintain uniform bar widths and equal gaps. Visual volume tricks the eye into misinterpreting category size.
Mistake Truncating the vertical axis so it starts above zero (e.g., starting at 50 instead of 0).
Correction Always start the vertical axis at 0 to ensure bar height proportions accurately reflect real-world values.
Mistake Assuming bar height equals voter count without checking axis scale labels.
Correction Always multiply bar height by the axis scale factor to derive the true numerical quantity.

Real World

School Meal Planning: A school caterer surveys 100 learners: 40 choose Githeri, 30 choose Rice & Beans, and 30 choose Chapati. A bar graph instantly signals that Githeri requires the largest cooking pot.
Inventory Control: A shopkeeper tracks weekly soda sales (Passion, Orange, Cola). Bar heights show when to reorder specific stock before supplies run out.
Agricultural Yield Tracking: A farmer graphs maize bag yields across four consecutive years to evaluate fertilizer effectiveness at a glance.

Practice

A bar graph has a vertical height of 10 cm and represents a maximum value of 50. What is the height in cm of a bar representing 20 units? (Type only the numerical value, e.g., 4)
Review the concepts above.
In a survey of 50 Grade 6 learners, 20 preferred Githeri, 15 preferred Rice & Beans, 10 preferred Chapati, and 5 preferred Ugali. What percentage of learners preferred Githeri? (Type only the integer percentage number, e.g., 40)
Review the concepts above.
A bar graph uses a scale where 1 cm represents 5 trees. If the bar for mango trees is drawn 6 cm tall, how many mango trees were planted? (Type only the integer value, e.g., 30)
Review the concepts above.
In a bar chart showing school sports preferences, 32 learners chose Football and 24 chosen Volleyball. What is the ratio of Football to Volleyball in simplest integer form \(a:b\)? (Type your answer in simplest ratio form, e.g., 4:3)
Review the concepts above.
A bar chart of height 15 cm has a maximum scale of 60 bags of maize. If a bar representing bean harvest is drawn 10 cm tall, how many bags of beans were harvested? (Type only the integer value, e.g., 40)
Review the concepts above.
A class recorded daily attendance across 5 days: Monday (40), Tuesday (45), Wednesday (35), Thursday (50), Friday (30). What was the mean daily attendance for the week? (Type only the numerical integer value, e.g., 40)
Review the concepts above.