05 · Charts & Basic Visualization¶
A chart turns a table of numbers into a shape the eye can compare instantly. This module builds a column chart and a pie chart from the budget Table (Module 4), and covers the handful of chart types and formatting options you'll reach for constantly.
1. Building a column chart¶
- In
budget-tracker.xlsx, select theCategory,Budgeted, andActualcolumns of the Table — since they aren't adjacent to each other on their own butCategoryis column A andBudgeted/Actualare B and C, selectingA1:C7(through the Subscriptions row added in Module 4) works directly since all three are contiguous. - Insert > Charts > Insert Column or Bar Chart > Clustered Column. Excel drops in a chart with one cluster of two bars (Budgeted, Actual) per category.
- The tallest bars are both Rent's (
1200Budgeted and Actual, matching exactly); Groceries and Entertainment visibly show Actual taller than Budgeted — the same over-budget categories flagged red by conditional formatting in Module 3. - Click the chart to reveal three floating buttons at its top-right: Chart Elements (+), Chart Styles (paintbrush), and Chart Filters (funnel) — these cover most day-to-day chart adjustments without opening a separate dialog.
2. Chart Elements: titles, labels, gridlines¶
- Click the chart, then the Chart Elements (+) button.
- Check Chart Title — a placeholder title appears on the chart; click
it and type a real title, e.g.
Budget vs. Actual. - Check Data Labels — the exact value from each bar now displays above
it (
1200,1200,400,455, etc.), removing any need to cross-reference the underlying table while reading the chart. - Uncheck Gridlines if the chart looks cluttered — gridlines help estimate values on a bar chart but add visual noise once Data Labels are showing the exact numbers directly.
- Check Legend (usually on by default) to confirm which color represents Budgeted vs. Actual — click the legend and drag or use the Chart Elements arrow to reposition it (e.g. bottom instead of right).
3. Pie chart: share of total budget¶
- Select just
CategoryandBudgeted— for non-adjacent columns, selectA1:A7, then hold Ctrl/⌘ and selectB1:B7. - Insert > Charts > Insert Pie or Doughnut Chart > Pie.
- Each slice's size corresponds to that category's share of the total
Budgeted amount (
2170total from Module 4) — Rent's slice is by far the largest since1200is over half the total. - Add Data Labels (Chart Elements) and set them to show
Percentage instead of the raw value: right-click any slice's data
label, Format Data Labels, check Percentage and uncheck
Value. Rent's slice should now read roughly
55%(1200 / 2170), matching the% of Budgetfigure computed with a formula in Module 2 — two different ways (a formula, and a chart's own calculation) arriving at the same answer is a useful sanity check. - A pie chart only makes sense when the parts genuinely sum to a meaningful whole (like a total budget) — it's the wrong choice for comparing Budgeted vs. Actual side by side, since those aren't parts of one whole; that comparison is what the column chart (Section 1) is for.
4. Choosing a chart type¶
| Data shape | Best chart type |
|---|---|
| Comparing values across categories | Clustered column or bar |
| Parts of one whole (must sum to 100%) | Pie or doughnut |
| Trend over time (dates, months) | Line |
| Relationship between two numeric variables | Scatter (X Y) |
| Distribution/spread of one variable | Histogram |
- Insert > Recommended Charts analyzes the selected data and suggests chart types likely to fit — useful when unsure, though understanding the table above means you rarely need to rely on the recommendation.
- Switch an existing chart's type without rebuilding it: click the chart, Chart Design > Change Chart Type, pick a different type from the same dialog used to create it originally.
5. Moving and resizing charts¶
- Click a chart's border (not its interior) and drag to reposition it anywhere on the sheet, or onto a different sheet entirely by cutting (Ctrl/⌘+X) and pasting (Ctrl/⌘+V) on the target sheet.
- Drag a corner handle to resize proportionally; drag an edge handle to resize only that dimension (which can distort a pie chart into an oval — usually undesirable).
- Chart Design > Move Chart relocates a chart to its own dedicated Chart Sheet (a full-sheet tab containing only the chart) rather than floating over a worksheet — useful for a chart meant to be the primary view of a workbook rather than a supplement to a data sheet.
Cheat sheet¶
| Action | Location |
|---|---|
| Insert column/bar chart | Insert > Charts > Column or Bar |
| Insert pie chart | Insert > Charts > Pie or Doughnut |
| Add/remove title, labels, gridlines | Chart Elements (+) button |
| Change colors/style | Chart Styles (paintbrush) button |
| Filter which series/categories show | Chart Filters (funnel) button |
| Change an existing chart's type | Chart Design > Change Chart Type |
| Move chart to its own sheet | Chart Design > Move Chart |
How It Actually Works¶
A chart is not a picture of your data — it's an object holding a live
reference to one or more ranges (a SERIES formula, visible in the
Formula Bar when you click a chart series, e.g.
=SERIES(Budget!$C$1,Budget!$A$2:$A$6,Budget!$C$2:$C$6,1)) plus a rendering
description. Because the chart stores references rather than a copied
snapshot of values, it is entirely driven by the same dependency graph as
formulas: whenever a recalculation updates any cell inside a SERIES range,
Excel marks the chart's series data as dirty and repaints it in the same
pass, which is why edited numbers visibly move bars and lines with no user
action beyond the edit. Chart type and axis scaling, in contrast, are
stored as chart-object properties, not derived from the data, which is why
Excel occasionally auto-picks a poor axis minimum/maximum (it defaults to
"nice round numbers around the data's min/max" using a fixed rounding
algorithm) and why manually fixing an axis bound stops it from
re-adjusting even as the underlying data changes.
Exercise¶
From the Budget Table, build a clustered column chart comparing Budgeted
vs. Actual across all categories, with a title and data labels turned on.
Then build a separate pie chart of just the Budgeted column with
percentage labels, and confirm Rent's slice reads close to 55%. Try
Insert > Recommended Charts on the same selection and compare what Excel
suggests to the chart types you chose yourself.