How to make a surplus and deficit
-
Paste your data
Paste cells from a spreadsheet or upload a CSV with a date or number column for Time and a number column for Value, plus a number column for Compare with if you have it.
-
Check the columns
The surplus and deficit picks its columns for you. Change any of them under Data.
-
Style it and download
Under Style, pick a look, colours, background and size, add a title and source, then download SVG or PNG.
What is a surplus and deficit?
A surplus and deficit chart is a line over time with the area between it and a baseline shaded in one colour where it runs above and another where it runs below. The baseline is zero or a second series such as a target or forecast.
How to read it
Time runs along the horizontal axis and the value up the vertical one. The shaded area shows the size and duration of each surplus or deficit, so look for long runs on one side and for the points where the line crosses the baseline.
When to use it
When a series runs above or below a target or zero. It is one of the deviation charts, which show how far values sit above or below a reference.
For categories with no time order, use a Diverging bar. To track two independent series that do not share a baseline, a Line chart is clearer.
Tips for a better surplus and deficit
- Map a target, budget or forecast column to Compare with, so the shading shows the gap to plan rather than to zero.
- Use evenly spaced time points; a gap in the data draws as a straight line across the missing period.
- Pick a time range long enough to show several crossings, otherwise a single shaded block says little.
Data you need
One row per item with a date or number column for Time and a number column for Value, plus a number column for Compare with if you have it. Column names can be anything; the chart maker matches columns by type, and you can change the match under Data.
| Month | Actual | Forecast |
|---|---|---|
| 2019-01 | 98.3 | 100.0 |
| 2019-02 | 102.3 | 106.8 |
| 2019-03 | 111.5 | 112.0 |
| 2019-04 | 115.5 | 114.4 |
| 2019-05 | 111.2 | 113.6 |
| 2019-06 | 107.4 | 110.0 |
| 2019-07 | 96.9 | 104.8 |
| 2019-08 | 100.7 | 99.6 |
Other charts for the same data
More deviation charts
Questions, answered
- What is a surplus and deficit?
- A surplus and deficit chart is a line over time with the area between it and a baseline shaded in one colour where it runs above and another where it runs below. The baseline is zero or a second series such as a target or forecast.
- How do you read a surplus and deficit?
- Time runs along the horizontal axis and the value up the vertical one. The shaded area shows the size and duration of each surplus or deficit, so look for long runs on one side and for the points where the line crosses the baseline.
- How do I make a surplus and deficit?
- Paste your data into the chart maker with a date or number column for Time and a number column for Value, plus a number column for Compare with if you have it. The surplus and deficit draws as you type. Then pick a look and a size and download it as SVG or PNG.
- When should I use a surplus and deficit?
- When a series runs above or below a target or zero. It belongs to the deviation family of charts, which show how far values sit above or below a reference. For categories with no time order, use a Diverging bar. To track two independent series that do not share a baseline, a Line chart is clearer.
- Is this surplus and deficit maker free?
- Yes. It is free with no sign-up, your data stays in your browser, and you can download the surplus and deficit as SVG or PNG.