Create data visualization (pivot tables, charts)
17 Data Analysis and Visualization 📊
Pivot Tables 📑
Think of a pivot table as a super‑power sorting machine. It takes a big list of data and lets you rearrange it instantly, like sorting a deck of cards by suit and rank, but for numbers and categories.
Key steps:
- Highlight the data range.
- Insert a pivot table (Excel: Insert → PivotTable).
- Drag fields to Rows, Columns, Values, and optionally Filters.
- Choose the calculation (Sum, Count, Average, etc.).
Example data:
| Month | Sales (units) | Region |
|---|---|---|
| Jan | 120 | North |
| Feb | 150 | South |
| Mar | 130 | North |
| Apr | 170 | South |
| May | 160 | North |
Pivot table result (Total sales by region):
| Region | Total Sales |
|---|---|
| North | 410 |
| South | 320 |
Formula for average sales: $\\text{Average} = \\frac{\\sum \\text{Sales}}{n}$
Charts 📈
Charts turn numbers into pictures, making patterns easier to spot. Pick the right chart type:
- Bar/Column – compare categories (e.g., sales by month).
- Line – show trends over time.
- Pie – display parts of a whole.
- Scatter – explore relationships between two variables.
Creating a bar chart in Excel:
- Select the data range.
- Insert → Chart → Column or Bar.
- Choose a style and add titles.
- Format axes and legend.
Example: Bar chart of monthly sales (same data as above).
Remember to label the x‑axis (Month) and y‑axis (Units Sold) and give the chart a clear title.
Exam Tips for Data Analysis and Visualization
- Show your work: include intermediate calculations and explain your choice of chart type.
- Check data ranges: ensure you’re summarising the correct cells.
- Label everything: axes, titles, legends, and data labels help the examiner understand your chart.
- Use colour wisely: consistent colours make charts easier to read.
- Practice pivot tables: try different arrangements (rows vs columns) to see how the data changes.
Key Terms
- Pivot Table – a dynamic summary table that can be rearranged.
- Chart Type – the visual representation chosen (bar, line, pie, etc.).
- Axis – the horizontal (x) and vertical (y) lines on a chart.
- Data Range – the set of cells used for analysis.
Practical Exercise
Take the sample data table above. Create a pivot table that shows:
- Total sales per month.
- Average sales per region.
Then, build a chart that visualises the monthly totals. Be sure to:
- Choose the correct chart type.
- Label all elements clearly.
- Explain why you chose that chart in a short paragraph.
Good luck, and remember: a clear visual story is worth a thousand numbers! 🚀
Revision
Log in to practice.