Skip to content

nervure or Chart.js ​

Chart.js is the most used open source chart library: MIT, well documented, with a large set of plugins. It draws on a canvas, and its animations are finely set by property.

What differs ​

nervureChart.js
Types74a core set, and community types
MarksSVG you can style with CSScanvas, styled by options
Maps, flows, diagramsyesplugins, or no
Exportmenu, SVG, PNG, CSVPNG of the canvas
Long seriesa few thousand marksthinning for lines
Communitynewvery large

Moving ​

labels become categories, datasets become series:

ts
createChart(host, {
  type: 'xy',
  legend: true,
  categories: config.data.labels,
  series: config.data.datasets.map((d) => ({ name: d.label, kind: 'bar', data: d.data, color: d.backgroundColor })),
});

All comparisons. Written from the documentation of Chart.js on 1 December 2026. Chart.js belongs to its owners, who have no part in this page.