Line charts

Line charts are one of the multiple ways to visualize data and are used to represent one or more trends or changes over time and compare mutiple datas.

Recommended for

Trending
Comparison

Line chart is a good idea if you have continuous data and you want to show:

  • Change over time
  • Trends
  • Comparison of the change for several groups
  • Prediction

Do / Don't

do and don't example

Use contrasting colors and include a legend.

do and don't example

Keep accessibility in mind. Don’t use more than 4 lines.

do and don't example

Use texture rather than a color to represent different data types.

do and don't example

Don’t use different colors to show different data but for the same category.

Minilines

do and don't example
do and don't example

You can reinforce the meaning of chart colors with other visuals, like icons. Leverage area to clearly indicate a positive or negative trend.