This is a worked example. The numbers are illustrative, not real statistics — they show how an article on this starter is put together: prose on a comfortable measure, an image with its caption and source, a table that scrolls on a phone, and two interactive charts.
The year in one line
Prices rose for twelve months in a row, but not evenly: two categories carried most of it.
Month to month the index moved by fractions of a percent, which is why the rise was easy to miss while it happened. Laid end to end, and set against the two years before, the year looks different. Hover the chart to read any month, or switch the range in its header.
Two things stand out. The rise accelerated after June, and it never paused: there is no month in 2026 in which the index fell. Energy swung the hardest in both directions; food climbed steadily.
What drove it
A headline index is an average, and an average hides who pays. Split by category, the picture is lopsided:
- Energy and housing account for more than half of the rise between them.
- Food added a steady, smaller share every month.
- Clothing pulled the index down slightly — the only category that did.
An average is a summary of people who are not average.
A statistician, probably
The table below carries the detail behind both charts: weight in the basket, the change within each category, and the contribution that results.1 On a phone it scrolls sideways inside its own box; the page itself does not move.
| Category | Weight, % | Price change, % | Contribution, pp | Share of the rise, % |
|---|---|---|---|---|
| Energy | 12 | 15.8 | 1.9 | 31 |
| Housing | 20 | 7.5 | 1.5 | 25 |
| Food | 18 | 6.7 | 1.2 | 20 |
| Transport | 14 | 6.4 | 0.9 | 15 |
| Services | 28 | 2.9 | 0.8 | 13 |
| Clothing | 8 | −2.5 | −0.2 | −3 |
How we measured
Each category's contribution is its weight in the basket times its own price change. The contributions add up to the headline figure, which is what makes them comparable.
Limits
A basket is a model of spending, not anyone's actual receipt. A household that rents and drives felt the year differently from one that owns and walks — see the Consumer Price Index methodology of your statistics office for how its weights are set.
- Contributions are rounded to one decimal. ↩