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
| nervure | Chart.js | |
|---|---|---|
| Types | 74 | a core set, and community types |
| Marks | SVG you can style with CSS | canvas, styled by options |
| Maps, flows, diagrams | yes | plugins, or no |
| Export | menu, SVG, PNG, CSV | PNG of the canvas |
| Long series | a few thousand marks | thinning for lines |
| Community | new | very 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.