Bar & Pie Charts – Quantitative Aptitude
(Google Cloud Certification – Quantitative Aptitude)
1. Simple Explanation
| Diagram | Use | What it shows |
|---|---|---|
| Bar Chart | Compare discrete quantities | Each bar’s height (or length) is proportional to the value it represents. |
| Pie Chart | Show parts of a whole | The circle is divided into sectors whose angles are proportional to the values. |
Both are visual tools that help you interpret data quickly, but they are used in different contexts:
- Bar charts – for any type of comparison (sales, scores, frequencies).
- Pie charts – when you need to emphasize how each part contributes to a total (market share, budget allocation).
2. Key Points
| Feature | Bar Chart | Pie Chart |
|---|---|---|
| Data type | Discrete or categorical | Continuous or part‑of‑whole data |
| Axis | Bars usually plotted against a categorical axis (x‑axis) and a numeric axis (y‑axis). | No axes – the whole circle is the reference. |
| Measurement | Height or length of bars. | Angle or area of sectors. |
| Percentage calculation | (\frac{value}{total}\times100%) – often shown above bars. | Directly obtained from the sector’s angle: (\frac{\text{sector angle}}{360^\circ}\times100%). |
| Common errors | 1. Mis‑labeling bars. 2. Not keeping a common scale for comparison. 3. Using too many categories (crowded bars). |
1. Sector angles not summing to 360°. 2. Sectors of almost equal size look similar even if values differ. 3. Over‑complicating with many slices. |
| Typical questions | • Which category has the highest value? • What is the difference between two bars? • Convert bar height to percentage. |
• What percentage does a slice represent? • Which slice is the largest/smallest? • Compare two slices’ proportions. |
3. Worked Example
Problem
A company sells 4 products in a month:
| Product | Units Sold | Revenue (₹) |
|---|---|---|
| A | 120 | 48,000 |
| B | 90 | 27,000 |
| C | 150 | 45,000 |
| D | 60 | 18,000 |
Tasks
- Draw a bar chart for units sold.
- Draw a pie chart for revenue distribution.
- Find the percentage contribution of each product in the pie chart.
Step‑by‑Step
-
Bar Chart – Units Sold
X‑axis: Product (A, B, C, D)
Y‑axis: Units (0–160, common scale)
Bars:- A: 120 units
- B: 90 units
- C: 150 units
- D: 60 units
Observation: Product C has the highest units, D the lowest.
-
Pie Chart – Revenue
Total revenue = 48,000 + 27,000 + 45,000 + 18,000 = ₹138,000
Sector angles (in degrees)- A: (\frac{48,000}{138,000}\times360 = 125.2^\circ)
- B: (\frac{27,000}{138,000}\times360 = 70.4^\circ)
- C: (\frac{45,000}{138,000}\times360 = 117.4^\circ)
- D: (\frac{18,000}{138,000}\times360 = 46.9^\circ)
(Angles rounded to one decimal place; sum ≈ 360°)
-
Percentage Contribution
[ \text{Percentage} = \frac{\text{Revenue of product}}{\text{Total revenue}} \times 100 ]- A: ( \frac{48,000}{138,000}\times100 \approx 34.78% )
- B: ( \frac{27,000}{138,000}\times100 \approx 19.57% )
- C: ( \frac{45,000}{138,000}\times100 \approx 32.61% )
- D: ( \frac{18,000}{138,000}\times100 \approx 13.04% )
Result
- Bar chart shows C sold the most units.
- Pie chart shows A contributes the largest revenue share (~35%).
4. Quick Revision Summary
| Topic | What to remember |
|---|---|
| Bar Chart | • Use for comparing categories. • Keep a common scale. • Label axes and bars clearly. • Heights (or lengths) represent values. |
| Pie Chart | • Use when data are parts of a whole. • Sectors’ angles = (\frac{value}{total}\times360^\circ). • Check that all angles sum to 360°. |
| Percentages | • Convert any value to % with (\frac{value}{total}\times100%.) |
| Common Mistakes | • Wrong scale on bar chart. • Missing or incorrect sector angles. • Over‑crowding data. |
| Typical Questions | • Which bar is highest? • What % does a pie slice represent? • Difference between two categories? |
Tip for Google Cloud Certification
When interpreting charts in data‑driven scenarios (e.g., analyzing cloud usage statistics), focus on the relative values first; percentages often reveal trends that raw numbers hide.
Happy studying! If you need practice problems or more detailed practice, let me know.