Problem
People need a quick sense of recent change beside a value, but there is not enough room for a full chart.
Solution
Place a small, simple trend line beside the number. Keep decoration minimal and make the time period clear from the surrounding label.
Choose the scale deliberately. If people compare rows, use a shared scale or an explicitly labeled common basis. Independently scaled lines can make a small fluctuation look as dramatic as a large change.
Keep exact values or a text description available through an accessible path. Remove or replace the line when it becomes too small to read.
Use when
A displayed number needs recent history, especially in a compact tile or table row.
Don’t use when
The exact values matter, or the viewer needs to read a specific point. A sparkline answers “what shape” and refuses to answer “how much”, and adding labels to fix that turns it back into a small chart with all the costs of one.
Trade-offs
Without axes, readers can easily misjudge the size of a change. Small lines may become decorative rather than informative. Resizing can change their apparent steepness or make them unreadable.
Checklist
- Is each sparkline scaled to itself, to the column, or to a fixed baseline? Can the viewer tell?
- If they’re in a column, would a reader comparing two rows reach a true conclusion?
- What time window does the line cover, and is it the same window as the number beside it?
- Are the endpoints marked, so the viewer knows which end is now?
- Is the current value’s position within the recent range visible, or just the shape?
- Does the aspect ratio put the interesting slopes near 45 degrees, or has it flattened them?
- What happens to gaps in the data?
- Does the sparkline survive the smallest size this container gets, and what shows if it doesn’t?
- Is the same information reachable as text for a screen reader?
- Is this sparkline doing work, or is it a texture the tile grew?
Compare
Grafana renders the sparkline as a background wash behind the stat value rather than beside it, and hides it when the panel shrinks, so it reads as atmosphere for the number instead of a chart in its own right. Sentry puts one on every issue row in the list, which is the pattern at its most useful: the shape tells you whether an error is new, constant, or spiking, without opening anything. Netdata effectively inverts the pattern by making the full charts small and numerous enough that it never needs a miniature. Honeycomb mostly declines it, on the same argument it makes about percentiles, that a single line hides the distribution underneath it.
Related
KPI tile commonly holds a sparkline. Delta indicator provides a simpler endpoint comparison. Time series adds room and axes.
Data table can include a trend column. Small multiples is better when comparisons need labeled charts.