Chart.js

The alternative chart library

Two chart libraries are included so you can use the one you already know without rewriting the page. Both draw from the same categorical palette.

Line and bar

Line

Bar

Doughnut and radar

Doughnut

Radar

Stacked and horizontal bars

Both come from the bar type — only the options differ

Stacked

Horizontal

Area and multi-axis

A filled line, and two series on separate scales

Area

Two y axes

Pie and polar area

Pie

Polar area

Scatter and bubble

These take {x, y} pairs instead of a labels array; bubble adds r

Scatter

Bubble

Mixed bar and line

One dataset overrides its type — Chart.js draws both in one chart