Published by Patrick Mutisya · 14 days ago
Be able to select data to produce a graph or chart, including using contiguous data, non‑contiguous data and specified data ranges.
Graphs and charts transform raw numerical information into a visual form that can be quickly interpreted. They are essential for:
| Chart Type | Typical Use | Best Data Structure |
|---|---|---|
| Bar chart | Comparing discrete categories | Non‑contiguous categorical data |
| Column chart | Same as bar chart but vertical; often used for time‑based data | Contiguous or non‑contiguous data |
| Line graph | Showing trends over a continuous interval (e.g., months, years) | Contiguous numerical data |
| Pie chart | Displaying parts of a whole (percentages) | Limited number of categories (usually ≤ 6) |
| Scatter plot | Investigating relationship between two variables | Pairs of numerical data (x, y) |
Before creating a graph you must decide which data to include. Consider the following questions:
Contiguous data are values that follow one another without gaps. Example: monthly sales for January–December.
Non‑contiguous data are selected values that are not adjacent in the original list. Example: sales for January, March, July and October.
When using spreadsheet software, you can select non‑contiguous cells by holding Ctrl (Windows) or Command (Mac) while clicking the required cells.
Sometimes you need only a portion of a larger data set. This is called a specified data range. Typical reasons include:
In a spreadsheet you can define a range using cell references, e.g., A2:A13 for the first twelve rows.
| Step | Action | Key Considerations |
|---|---|---|
| 1 | Identify the purpose of the graph. | Choose the chart type that best matches the purpose. |
| 2 | Collect the data set. | Ensure data are accurate and complete. |
| 3 | Select the required cells. | Use contiguous selection for continuous data, or hold Ctrl/Command for non‑contiguous cells. |
| 4 | Insert the chart via the software’s “Insert → Chart” menu. | Check that the software has correctly interpreted the axes. |
| 5 | Adjust the data range if necessary. | Modify the range in the chart data source dialog. |
| 6 | Label axes, add a title, and include a legend. | Use clear, concise labels; avoid abbreviations that are not explained. |
| 7 | Review the graph for accuracy and readability. | Check scale, data points, and that the graph answers the original question. |
Scenario A – Monthly temperature trend
Data: Average temperature for each month (January–December).
Required graph: Line graph using contiguous data \$n = 12\$.
Scenario B – Sales of four products
Data: Sales figures for Product A, C, and E only (non‑contiguous columns).
Required graph: Bar chart with non‑contiguous data selection.
Scenario C – Exam scores for the top 5 students
Data: Full class list of 30 scores; only the highest five are needed.
Required graph: Column chart using a specified data range (top‑5 values).