Bar & Pie Charts
Program: RPF SI
Subject: Quantitative Aptitude
Topic: Bar & Pie Charts
1. Simple Explanation
| Chart | What It Shows | Best Use |
|---|---|---|
| Bar Chart | Quantitative comparisons between categories | When you need to compare discrete groups (e.g., sales of 5 products) |
| Pie Chart | Proportion of parts that make up a whole | When you want to show how a total is divided into parts |
Both charts provide a visual way to interpret data quickly, but they serve different purposes.
2. Key Points
2.1 Bar Chart
- Axes
- X‑axis: Categories (discrete, often non‑numeric).
- Y‑axis: Quantitative values (numeric, often with a common scale).
- Bars
- Height (or length) represents the value.
- Bars may be vertical or horizontal.
- Reading
- Identify the category (label).
- Read the value from the axis or from a legend.
- Comparisons
- Taller bars = larger values.
- Look for largest/smallest, trends, or anomalies.
- Common Mistakes
- Skipping the zero line → over‑stating differences.
- Different scales on two charts → misleading comparison.
2.2 Pie Chart
- Whole
- The circle represents 100 % (or 360°).
- Sectors
- Each slice’s angle is proportional to its part of the whole.
- Reading
- Find the percentage (if provided) or calculate it:
[ \text{Percentage} = \frac{\text{Slice value}}{\text{Total value}} \times 100 ]
- Find the percentage (if provided) or calculate it:
- Labeling
- Use percentages, labels, or a legend.
- When to Use
- When you want to show how a single quantity is divided.
- Avoid too many slices (≤ 5–6) to keep the chart readable.
2.3 Converting Between Forms
- From Bar to Pie:
Sum all bar values → total.
Compute each bar’s share → slice size. - From Pie to Bar:
Multiply each percentage by the total value → absolute amounts.
3. Worked Example
3.1 Problem
A company sold 5 types of gadgets in 2024.
| Gadget | Units Sold |
|---|---|
| A | 120 |
| B | 80 |
| C | 150 |
| D | 50 |
| E | 100 |
- Draw a bar chart.
- Convert the data into a pie chart.
- What percentage of the total sales was gadget C?
- If the company wants gadget C to represent 30 % of total sales next year, how many additional units must it sell?
3.2 Step‑by‑Step
a) Bar Chart
- Draw X‑axis: A, B, C, D, E.
- Draw Y‑axis with a common scale (e.g., 0–200).
- Height of bars: 120, 80, 150, 50, 100.
(A visual sketch would show bars of those heights.)
b) Total Units
[ \text{Total} = 120 + 80 + 150 + 50 + 100 = 500 ]
c) Pie Chart
- Compute each slice’s angle:
[ \theta_{\text{Gadget}} = \frac{\text{Units}}{500} \times 360^\circ ]- A: ( \frac{120}{500}\times360 = 86.4^\circ)
- B: ( \frac{80}{500}\times360 = 57.6^\circ)
- C: ( \frac{150}{500}\times360 = 108^\circ)
- D: ( \frac{50}{500}\times360 = 36^\circ)
- E: ( \frac{100}{500}\times360 = 72^\circ)
d) Percentage of Gadget C
[ \text{Percentage}_C = \frac{150}{500} \times 100 = 30% ]
So gadget C already makes up 30 % of total sales.
e) Additional Units for 30 % Target Next Year
Let (x) = additional units of gadget C.
Let (T) = new total units = (500 + x).
Desired: (\frac{150 + x}{T} = 0.30).
Solve: [ 150 + x = 0.30(500 + x) \ 150 + x = 150 + 0.30x \ x - 0.30x = 150 - 150 \ 0.70x = 0 \ x = 0 ]
Hence no additional units are needed; gadget C already meets the 30 % target.
(If the target were higher, the same method would give the required additional units.)
4. Quick Revision Summary
| Feature | Bar Chart | Pie Chart |
|---|---|---|
| Purpose | Compare discrete categories | Show parts of a whole |
| Axes | X: categories, Y: values | None |
| Reading | Height = value | Angle = percentage |
| Scale | Common numeric scale | All slices sum to 360° (100 %) |
| Best for | Many categories, trend analysis | Few categories, proportional data |
| Key to avoid | Skipping zero, inconsistent scales | Too many slices, missing labels |
| Conversion | Sum values → total, then compute shares | Percentages × total → absolute values |
| Quick check | Total of bars = sum of values | Sum of percentages = 100 % |
Final Tips
- Always label axes and include a scale.
- For pie charts, keep slices ≤ 6 and provide a legend or percentages.