Data series
A data series is a set of related values shown together on a chart. Depending on the chart type, a series might be represented by a line, a set of bars, an area or a slice. Limiting the number of series, colouring them in a set order and keeping that colour the same across charts helps people read a chart at a glance.
Limit the number
Each additional series makes a chart harder to read. Prioritise the most important series, group the smallest or least important series as “Other” where appropriate (see the rules for “Other”), or split the data across multiple charts.
Show a maximum of six named series, plus “Other” if you need it. MDS recommends six as the most that stays clear to read, and it matches the six Extended colour palettes available for data visualisation. Use fewer when the chart becomes difficult to read.
Don’t use “Other” on line charts, because a combined line is difficult to interpret. Keep the series separate instead, each in its own colour, or split them across charts. See Lines and markers.
Assign colours in order
MDS provides six Extended colour palettes for data visualisation. The recommended default is to assign them to the named series in their set order: Extended 1 to the first series, Extended 2 to the second, and so on. The order is designed so that each palette contrasts well with the palettes next to it, which keeps neighbouring series easy to tell apart. Don’t choose palettes by preference. Where the same series appears in several charts, keep its colour the same instead (see below). A single-series chart can use any of the six palettes.
For further details on the Extended colour palettes for data visualisation and related token values, see Colours.
Use status colours only for status
When the colour of a series carries a status, such as over and under budget, or good and bad, we recommend the status colours (error, warning and success) instead of the Extended palettes. Extended colours have no fixed meaning, and a palette can differ from one brand to another, so a red or a green from Extended can’t be relied on to read as “bad” or “good”.
Use status colours only where the colour is the status, and don’t mix them with Extended colours in the same chart. Don’t use a status colour for a series that isn’t a status. Add a second cue as well, such as a sign, a label or position, because some people can’t tell red and green apart. For the tokens, see Colours.
Keep series styling consistent
Use the same colour for the same series in every chart that shows it, including single-series charts and charts with several series. For example, if “Dry” is Extended 1 in a single-series bar chart, it stays Extended 1 in a chart that shows several series, even if that changes its place in the order.
Where fills, patterns or markers are used, keep those consistent too. See Fills and patterns and Lines and markers.
Use a neutral colour for “Other”
Fill “Other” with a consistent neutral colour, not an Extended palette. Use the strongest Neutral background colour (brand_appearance_neutral_strongest_background-color) in every chart. This sets “Other” apart as the remainder and leaves the Extended palettes for the named series.
Put “Other” last
When series are grouped as “Other”, place it last in the chart and legend regardless of its value. In a donut chart, last is the end of the clockwise order. In a stacked bar chart, it is the end of the stack, for example the top of a vertical stack or the right of a horizontal stack.
Placing it last is a recommended default. Choose a different position if the story the chart tells needs it.
Use “Other” only when combining series
“Other” should represent at least two series. If only one series is left after grouping, show and name it individually instead.