Labels and legends
Charts are mainly for showing patterns and relationships. Show exact values when knowing the number helps people understand the data, and only where the values can be displayed clearly without adding clutter. Names for series are on the Series tab.
For interactive charts, more values can be made available on hover. See Interaction.
Show values when the exact number matters
Don’t show values by default. Add them when knowing the exact number helps people understand or compare the data.
Place values close to the data they describe
When you show values, place them close to the data they describe, such as inside a segment, at the end of a bar or beside a data point. Make sure it is clear which data each value belongs to.
Show values only when they remain readable
Don’t let values overlap other values, labels or important data, and make sure they stay clearly readable against their background.
If there isn’t enough room to show a value clearly, leave it out and make it available another way where appropriate, such as in a tooltip or a table.
Show only the values that matter on dense charts
On dense charts, such as line, scatter and bubble charts, show or label only the points people need to read or identify. For a line, that might be the latest value, a notable high or low, or a significant change. For a scatter or bubble chart, it might be the few points that matter to the story.
Avoid labelling every point when the labels would overlap or hide the data. Make the other values available another way where appropriate, such as in a tooltip or a table.
On a scatter or bubble chart, label only the few points people need to identify.
Show slice values when exact proportions matter
Pie and donut charts make exact values difficult to estimate from the size of a slice. Show values for slices when the exact proportion matters and the values can be placed clearly, either inside the slice or next to its label.
Show the total when it adds useful context
For part-to-whole charts, show the total when knowing the overall amount helps people interpret the individual parts. Don’t show a total that only repeats what the chart already makes clear, such as 100% for a complete whole.
A useful total can appear at the end of a stacked bar or in the centre of a donut.
Where to place values
A quick summary of the rules above, by chart type. Where there isn’t room for a value, leave it out (see Show values only when they remain readable).
| Chart | Where to place values |
|---|---|
| Bar | Inside the bar or at its end. |
| Stacked bar | Inside segments with enough room. Show the total at the end of the bar when it adds useful context. |
| Line | Avoid showing a value at every point. Consider showing the latest or notable values and making other values available through interaction. |
| Donut or pie | Inside or beside slices where there is enough room. A useful total can appear in the centre of a donut. |
| Scatter | Avoid labelling every point. Label notable points where useful and provide other values through interaction. |
| Bubble | Show values or labels when there are few bubbles and they remain readable. Otherwise provide them through interaction. |