Line Chart

Connects data points with lines from left to right to visualize relationships or trends in data.

Usage guidelines outline how the component should and shouldn’t be used in different user interface contexts.

When to use

  • To visualize relationships or trends in data (e.g. on the Insights tab)
  • To show detailed information about a dataset, including a title, axes, and coordinates

When not to use

  • To show the general shape of a dataset with no axes or coordinates, which lets users preview a trend at a glance (use a Sparkline Chart instead)

Best practices

Do

Do always display a title and axis labels.

Don't

Don't use a Line Chart without the title or axis labels.

Don't

Don't resize the Line Chart to fit into a small space next to other content, as this compromizes the legibility of labels and the ability to understand the data.