Topic 16 – Graphs and Charts (IGCSE ICT 0417)
Learning objective (AO2 / AO3)
Be able to select data (contiguous, non‑contiguous or a specified range) and create, label and edit a graph or chart in spreadsheet software, meeting all requirements of the Cambridge IGCSE ICT syllabus.
1. How this topic maps to the syllabus (Section 16)
| Syllabus requirement | What you must be able to do | Where it is covered in these notes |
|---|
| Identify the most appropriate chart type (bar, column, line, pie, scatter) | Choose a chart that best answers the question. | Section 2 (Chart types) |
| Select data – contiguous, non‑contiguous, specified range | Pick the exact cells required for the chart. | Section 3 |
| Create the chart | Insert the chart after the correct data are selected. | Section 4, step 4 |
| Add a second data series / secondary axis | Display two data series with different scales on one chart. | Section 5 and Scenario D |
| Label the chart (title, axis titles, legend, data labels) | Every chart must have a clear title, labelled axes (including units), a legend (if needed) and optional data labels. | Section 4, step 6 |
| Format numbers (decimal places, currency, percentages) | Apply the correct number format to each data series. | Section 4, step 7 and Table 2 |
| Adjust axes, gridlines and overall style | Set appropriate scales, add gridlines, avoid 3‑D effects. | Section 4, steps 8–9 |
2. Why use graphs and charts?
- Convert raw numbers into a visual form that can be interpreted quickly.
- Show comparisons, trends, proportions and relationships.
- Communicate findings to a non‑technical audience.
3. Common chart types and when to use them
| Chart type | Typical purpose | Best‑suited data layout |
|---|
| Bar chart (horizontal) | Compare discrete categories | Non‑contiguous categorical data |
| Column chart (vertical) | Compare categories or show time‑based data | Contiguous or non‑contiguous data |
| Line graph | Show trends over a continuous interval (months, years, etc.) | Contiguous numerical data |
| Pie chart | Display parts of a whole (percentages) | Few categories (≤ 6) whose total = 100 % |
| Scatter plot | Investigate the relationship between two numerical variables | Two columns of paired numbers (x‑values, y‑values) |
4. Selecting the data you need
4.1 Decide what you need to show
- State the purpose of the graph (compare, trend, proportion, relationship).
- Identify the variables that must appear.
- Determine whether you need the whole series, a subset, or isolated points.
4.2 Types of data selection
- Contiguous data – cells that follow one another without gaps (e.g.,
A2:A13 for the twelve months of a year). - Non‑contiguous data – separate cells or blocks that are not adjacent (e.g.,
B2:B13, D2:D13, F2:F13).
How to select: hold Ctrl (Windows) or Command (Mac) and click each cell or block. Use Shift + click to select a contiguous block first, then add extra cells with Ctrl/Command.
- Specified data range – a defined subset of a larger series (e.g., the first six months only).
How to define: type the range directly in the chart data source dialog (e.g., A2:A7) or create a named range and refer to that name.
4.3 Quick‑reference box – Selecting data in a spreadsheet
| Action | Key‑press | Result |
|---|
| Select a single contiguous block | Click‑drag or Shift + click | All cells between the first and last click are highlighted. |
| Select several separate cells/blocks | Hold Ctrl (Windows) / Command (Mac) while clicking | Only the cells you click are added to the selection. |
| Select a named range | Type the name in the Name Box and press Enter | The whole named range is highlighted. |
| Select an exact range without mouse | Enter the reference in the chart dialog (e.g., B2:D11) | Spreadsheet uses exactly those cells. |
5. Creating a graph – step‑by‑step
| Step | Action | Key considerations / tips |
|---|
| 1 | Define the purpose of the graph. | Choose the chart type that matches the purpose (see Section 2). |
| 2 | Prepare the data in the spreadsheet. | Check for missing or incorrect values; ensure clear headings. |
| 3 | Select the required cells. | - Contiguous – drag or Shift‑click.
- Non‑contiguous – hold Ctrl/Command while clicking.
- Specified range – type the range (e.g.,
C2:C13) in the chart data source.
|
| 4 | Insert the chart (Insert ► Chart). | Spreadsheet will suggest a chart type; change it if needed. |
| 5 | Add a second data series or secondary axis (if required) | - Open the “Select Data” dialog (see Keyboard shortcuts).
- Click “Add” → choose the additional range.
- To use a secondary axis, tick “Secondary Axis” for that series.
- Often the secondary series is displayed as a line for clarity.
|
| 6 | Label the chart. | - Chart title – concise, specific.
- Axis titles – include units (e.g., “Temperature (°C)”).
- Legend – show series names; place where it does not hide data.
- Data labels (optional) – display exact values on bars/points.
|
| 7 | Format numbers. | Right‑click a series ► “Format Data Series” ► “Number”. Choose the required format (see Table 2). |
| 8 | Adjust axes and gridlines. | - For bar/column charts set the minimum to 0 unless a truncated scale is justified.
- Choose sensible major/minor units (e.g., 5 °C steps).
- Add horizontal/vertical gridlines to aid reading.
|
| 9 | Apply final styling. | Use contrasting colours, avoid 3‑D effects, keep the design simple. |
| 10 | Review for accuracy and readability. | Check that the chart answers the original question, that all labels are present and that scales are correct. |
6. Number‑format options required by the syllabus
| Format type | Example | How to apply |
|---|
| Decimal places | 123.45 | Format ► Number ► Decimal places = 2 |
| Currency | £1 234 | Format ► Currency ► Symbol (£, $, €) – set decimal places as required |
| Percentage | 75 % | Format ► Percentage ► Set decimal places (usually 0 or 1) |
| Whole numbers | 58 | Format ► Number ► Decimal places = 0 |
7. Editing and refining a chart
- Change chart type – right‑click the chart ► “Change Chart Type”.
- Swap rows/columns – use “Switch Row/Column” if the axes are reversed.
- Secondary axis – essential when two series have very different scales (e.g., revenue £ vs. units sold).
- Data markers – add or format markers on line graphs to highlight individual points.
- Trendline – insert a linear, polynomial or exponential trendline to emphasise overall direction.
- Remove 3‑D or unnecessary effects – keep the chart easy to read.
8. Example scenarios (full workflow)
Scenario A – Monthly temperature trend (contiguous data)
Data: A2:A13 = months, B2:B13 = average temperature (°C).
Steps:
- Select
A2:A13 (categories) and B2:B13 (values). - Insert ► Line graph.
- Title: “Average Monthly Temperature – 2024”.
- Axis titles: X = “Month”, Y = “Temperature (°C)”.
- Format Y‑axis numbers to one decimal place.
- Add horizontal gridlines at 5 °C intervals.
Scenario B – Sales of three products (non‑contiguous columns)
Data: Column A = months, B = Product A, D = Product C, F = Product E.
Steps:
- Hold Ctrl and click
B2:B13, D2:D13, F2:F13. - Insert ► Bar chart.
- In “Select Data”, rename the series to “Product A”, “Product C”, “Product E”.
- Add title “Monthly Sales – 2024” and axis titles “Month” (X) and “Sales (£)” (Y).
- Format Y‑axis as Currency (£) with 0 decimal places.
Scenario C – Top‑5 exam scores (specified range)
Data: Column A = student names (30 rows), Column B = scores.
Steps:
- Sort the table descending by score.
- Select the first five rows (
A2:B6). - Insert ► Column chart.
- Title “Top 5 Exam Scores – 2024”.
- Axis titles: X = “Student”, Y = “Score (out of 100)”.
- Show data labels on each column to display the exact score.
Scenario D – Revenue vs. Units sold (dual‑axis chart)
Data: Column A = month, B = revenue (£), C = units sold.
Steps:
- Select
A2:C13 (contiguous). - Insert ► Column chart.
- Open “Select Data”, add the second series (units sold) and tick “Secondary Axis”.
- Change the secondary series to a line graph.
- Axis titles: primary = “Revenue (£)”, secondary = “Units sold”.
- Format primary axis as Currency (£) and secondary axis as Whole numbers.
Scenario E – Relationship between study hours and marks (scatter plot)
Data: Column A = hours studied, Column B = exam mark.
Steps:
- Select
A2:B21 (contiguous paired data). - Insert ► Scatter plot.
- Title “Study Hours vs. Exam Marks”.
- Axis titles: X = “Hours Studied”, Y = “Mark (out of 100)”.
- Add a linear trendline and display its equation (optional).
9. Common pitfalls and how to avoid them
- Wrong chart type – always match the purpose (e.g., never use a pie chart for a time series).
- Too many categories in a pie chart – limit to 5‑6 slices; combine the rest into “Other”.
- Missing or unclear labels – every axis must have a title and its unit.
- Inappropriate axis scaling – bar/column charts should start at zero unless a truncated scale is explicitly justified and explained.
- Non‑contiguous selection errors – double‑check the highlighted cells before inserting the chart.
- Over‑formatting – avoid 3‑D effects, excessive colours or heavy shadows.
- Outliers that distort the scale – consider using a specified range or a secondary axis.
10. Summary checklist (AO2 / AO3)
- State the purpose of the graph.
- Choose the most appropriate chart type.
- Identify whether the required data are contiguous, non‑contiguous, or a specified range.
- Prepare and verify the data (headings, missing values, correct order).
- Select the data correctly:
- Drag or Shift for contiguous.
- Ctrl/Command for non‑contiguous.
- Enter the exact range (e.g.,
D5:D20) for a specified subset.
- Insert the chart and, if required, add a second data series or secondary axis.
- Label the chart title, axes (including units), legend and, where useful, data labels.
- Apply the correct number format (decimal, currency, percentage) and adjust axis scales, gridlines and markers.
- Use a clean, non‑distracting style (no 3‑D, high contrast colours).
- Review the finished graph for accuracy, readability and that it fully answers the original question.
11. Keyboard shortcuts (Windows / macOS)
| Action | Windows | macOS |
|---|
| Select contiguous range | Shift + click | Shift + click |
| Select non‑contiguous cells | Ctrl + click | Command + click |
| Open “Select Data” dialog | Alt + D, S | Option + D, S |
| Format number (currency, decimals) | Ctrl + 1 | Command + 1 |