Topic 17 – Data Analysis & Visualisation (Cambridge IGCSE/A‑Level IT 9626)
Learning Objectives
Create, modify and interpret pivot tables – including grouping, calculated fields, custom aggregations, multiple value fields and refreshing data sources.
Custom Aggregations (Distinct Count) – Add the data to the Excel Data Model (check “Add this data to the Data Model” when creating the pivot). Then, in the Values area, choose Value Field Settings → Distinct Count.
Multiple Value Fields Side‑by‑Side – Drag more than one numeric field into the Values area. Example:
Sum of Revenue
Average of Units Sold
The pivot will display two columns for each row field (e.g., Region) – one for each aggregation.
Refreshing Data – After editing the source table, click Refresh (Excel) or Refresh all (Google Sheets) to update the pivot.
5.4 Sample Pivot Table – Total Revenue by Region & Month
Region \ Month
Jan
Feb
Mar
Total
% of Total Revenue
North
£3,600
–
£3,300
£6,900
48.9 %
South
£2,550
–
–
£2,550
18.1 %
East
–
£2,850
–
£2,850
20.2 %
West
–
£1,800
–
£1,800
12.8 %
Total
£6,150
£4,650
£3,300
£14,100
100 %
5.5 Example: Multiple Value Fields
Using the same pivot, add both Sum of Revenue and Average of Units Sold to the Values area. The resulting layout (simplified) looks like:
Region
Sum of Revenue
Average of Units Sold
North
£6,900
112
South
£2,550
95
East
£2,850
78
West
£1,800
64
6. Chart Types – Matching Visual Form to Question Type
Chart Type
Best for… (question focus)
Advantages
Disadvantages / When to Avoid
Column / Bar
Comparing quantities across discrete categories (e.g., revenue by region).
Clear hierarchy; easy to read exact values.
Cluttered with >10 categories; not ideal for trends.
Line
Showing change over time or continuous data (trend analysis).
Emphasises direction and rate of change.
Hard to compare many series when they cross frequently.
Pie
Illustrating part‑to‑whole relationships with few categories (≤5‑6).
Intuitive for proportion.
Distorts perception when slices are similar; avoid for many categories.
Stacked Column / Area
Showing contribution of sub‑categories to a total over time (product mix each month).
Combines total and breakdown in one chart.
Difficult to compare individual sub‑category values across periods.
Scatter Plot
Exploring correlation between two numeric variables (units sold vs. advertising spend).
Reveals patterns, clusters, outliers.
Requires clear axis labels; not suitable for categorical data.
7. Designing an Effective Chart – Checklist
Define the purpose. What specific question are you answering?
Select the appropriate chart type using the table above.
Title, axis labels & units. Include a concise, descriptive title and label both axes with units.
Colour scheme. Use a consistent palette; reserve one colour per data series; avoid overly bright or decorative colours.
Readability. Ensure data points, markers and labels do not overlap; use data labels only when they aid clarity.
Audience awareness. Tailor the level of detail and terminology to the intended viewers.
Scale integrity. Y‑axis should start at zero unless a justified break is shown; keep scales consistent across comparable charts.
8. Example: Revenue Trend by Month (Line Chart)
Using the pivot‑table totals from §5.4, plot a line chart:
X‑axis: Month (Jan, Feb, Mar)
Y‑axis: Total Revenue (£)
Data points: (Jan, £6,150), (Feb, £4,650), (Mar, £3,300)
Figure 1 – Revenue trend (line chart) derived from the pivot table.
Interpretation
The chart shows a clear decline of 46 % in revenue over the three‑month period. Possible reasons include seasonal demand, reduced marketing spend, or supply‑chain constraints. Management should investigate month‑by‑month product performance and compare with previous years to determine whether the dip is an anomaly or part of a longer trend.
9. Mathematical Considerations for Analysis
When interpreting pivot data and charts you may need to calculate:
Percentage contribution of a region:
$$\text{Pct}_{\text{region}} = \frac{\text{Revenue}_{\text{region}}}{\text{Total Revenue}} \times 100\%$$
Out‑of‑date pivot tables. Always refresh after editing the source data.
Using inappropriate chart types. Match the visual form to the question focus (refer to the chart‑type matrix).
Ignoring data cleaning. Unclean data leads to inaccurate summaries and misleading visualisations.
11. Practical Exercise (Exam‑Style)
Using the sample data set provided, complete the tasks below. Show all steps, screenshots (or hand‑drawn sketches), and brief written commentary. This mirrors the AO2/AO3 requirements of the Cambridge exam.
Pivot Table – Units Sold by Product & Month
Rows: Product
Columns: Month
Values: Sum of Units Sold
Stacked Column Chart
Base the chart on the pivot table from (1).
Each column represents a month; each colour segment represents a product.
Title the chart “Monthly Units Sold by Product”.
Calculated Field – % of Total Revenue by Region
Add a calculated field PctRevenue = Revenue / TotalRevenue to the pivot table in Section 5.
Format the field as a percentage with one decimal place.
Interpretation (150–200 words)
Describe the main trends shown in the stacked column chart.
Identify which product(s) drive the monthly changes.
Suggest two actionable recommendations for management (e.g., stock adjustments, promotional focus).
Data‑validation Check
Apply data‑validation to the Region column to allow only “North, South, East, West”.
Highlight any cells that violate the rule and explain how you would correct them.
12. Summary
Mastering pivot tables and appropriate charting techniques enables you to:
Efficiently summarise large data sets without manual calculations.
Choose visualisations that directly answer the question posed.
Present findings clearly, accurately, and persuasively to a range of audiences.
Meet the AO2 (application) and AO3 (analysis) criteria of the Cambridge IT examination.
13. Further Reading & Resources
Cambridge International AS & A Level IT (9626) – Official syllabus and past papers.
Microsoft Office Support – “Create a PivotTable to analyze worksheet data”.
Google Workspace Learning Center – “Pivot tables in Google Sheets”.
Data‑visualisation best‑practice guides (e.g., “The Visual Display of Quantitative Information” by Edward Tufte).
Your generous donation helps us continue providing free Cambridge IGCSE & A-Level resources,
past papers, syllabus notes, revision questions, and high-quality online tutoring to students across Kenya.