Sparklines
Variant: Standard
Made-up data, for demonstration only
Variants
4 types · click one to see it in the frame above- Difference from standard
- The recommended type; use it as a starting point
- Use when
- See small trends inside a KPI table
Sparklines are small line charts, about the size of a word, with no axes. They sit inside a table, a sentence or a dashboard. Use them to see the trend of many items at once in a tight space, such as monthly sales for each branch.
How to read Sparklines
- One row is one branch. This example has 4 branches. The branch name is on the far left and the line shows 12 months of sales, in millions of dollars per month.
- The number at the end of the line is the latest value. It is the December figure: Manhattan 138, Queens 88, Brooklyn 115 and Newark 73.
- The shape of the line shows the trend. Manhattan rises overall with a few dips, Queens falls overall, Brooklyn rises with swings, and Newark is almost flat.
- Each line is scaled to its own data. A line that moves little is stretched to fill the cell, so do not compare heights across rows.
You can read shape and direction very quickly, but you cannot read the exact value of each month. If you need numbers, always put them next to the line.
When to use it
- You want the trend of many items at the same time, such as one branch or one product per row.
- You want to place it in a table or a sentence so a number comes with its history. This also reduces the weight given to the latest event.
- Space is tight. One line takes about as much room as a word.
When not to use it
- You need exact values or comparisons across rows. If each line has its own scale, a line that moves a little looks the same as one that moves a lot. Use a Line Chart or Small Multiples with a shared scale.
- There are very few data points. The shape of the trend does not show. Use numbers or a Column Chart.
- You must make a detailed decision with no numbers beside the chart. Sparklines are meant to give approximate values, not exact ones.
Common mistakes
1. Comparing rows by height when the scales differ
If each sparkline sets its own scale, a narrow swing and a wide swing look alike. Programs such as Excel have an option to use the same minimum and maximum for every line. In this example Newark is steady (70 to 74) but is stretched to fill the cell like the other rows. To compare across rows, set the same axis minimum and maximum for every row. The lines that move little will look flat, which is the correct picture.
2. No numbers beside the line
A line alone does not give size. Write the latest value at the end of the line, and say what period the line covers.
3. So many dots and labels that it is no longer small
Try the "High and low points" variant. Two dots are enough. If you mark the start, end, high, low and negative values all at once, you lose the point of a small, plain chart.
4. No reference range
If a reference range has been defined, put a band for it behind the line so values outside the range show up. The "Normal range band" variant uses a made-up range around each row's average. It is not an anomaly threshold calculated from real data.
Compared with similar charts
| Chart | How it differs | Choose it when |
|---|---|---|
| Sparklines | A tiny line with no axes, placed in a table | Trends for many items in a tight space |
| Line Chart | A line with full axes | You need to read values and time |
| Small Multiples | Small charts with axes and the same scale | A serious comparison of many items |
| Horizon Chart | A line folded into colour bands | Hundreds of items |
| KPI Card | One big number | The latest value alone |
History and development
Edward Tufte, author of books on the display of quantitative information, named this kind of chart the sparkline. On his website he defines it as a "small intense simple word-sized graphic" that can go anywhere a word or number can, such as in a sentence, table, headline or spreadsheet. He writes that it gives a picture of the history of a value together with the detail of single points, and that it reduces the weight given to the latest event.
Frequently asked questions
How are Sparklines different from a Line Chart?
A sparkline is a line chart with the axes and labels removed until it is as small as text, so it can sit inside a passage or a table. A line chart has full axes and is used to read values.
Should each line have its own scale or a shared one?
If you need to compare across rows, use a shared scale. If you want to see the shape of each item, scale them separately, but say so clearly.
How many data points per line?
There is no fixed number. There must be enough to show the shape of the trend. This example uses 12.
Do I need a number beside the line?
You should. A line alone gives no size, and a number lets readers read the latest value.
References
- Sparkline theory and practice · Edward Tufte · Ask E.T. notebook · www.edwardtufte.comUsed to confirm: the origin and design principles of the sparkline
- Sparkline axes · Microsoft Support · support.microsoft.comUsed to confirm: how to set sparkline axes in Excel
Last updated 28 Nov 2026