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
Types209 (230 charts and maps)8 core types, and community types
MarksSVG you can style with CSScanvas, styled by options
Maps, flows, diagramsyesplugins, or no
Exportmenu, SVG, PNG, CSV, Markdown, FigmaPNG of the canvas
Long seriesthinning for lines, canvas for dense scatter plotsdecimation for lines
Size, everything173 kB gzipped for 199 types, 3D in a 15 kB file; 13 to 15 kB for one chart alone70 kB gzipped (4.6.2), less with tree shaking
Server renderingSVG strings without a browser (nervure/render)needs a canvas (node-canvas)
Mermaid textread and drawn (nervure/mermaid)no
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.