Skip to content

Changelog ​

Versions follow semantic versioning. Before 1.0, a minor version may change the spec.

0.14.0 - 2026-12-03 ​

Added ​

  • Twenty more 3D charts in nervure/3d, thirty in all: area, stacked area, ribbons, surface, scatter, funnel and pyramid, globe with arcs and points, city of buildings, treemap, flows, radar, progress rings, pictorial shapes, candles, timeline, a wall of tiles and more. cdn/nervure.3d.min.js is 34.7 kB gzipped; the main file does not grow.
  • Theme charts, in their own entry nervure/themes (or cdn/nervure.themes.min.js after nervure.min.js, 52 kB gzipped): 43 charts for weather, nature, electricity, nuclear, oil and gas, transport, cars, real estate, financing, crypto, money and products, in 2D and 3D. Guide: Theme charts.
  • @nervure/icons 0.1.0, a new package (packages/icons): 134 animated SVG icons drawn by hand on a 24 grid, one colour or two, which draw themselves in and play a motion of their own on load, hover, click or loop, still for readers who ask for less motion. icon() and iconSvg(), one module per icon, <nv-icon>, React and Vue components, cdn/nervure-icons.min.js (13.3 kB gzipped) and static SVG files. Gallery at /icons/.

Changed ​

  • The PHP packages are renamed nervure/symfony (was benmacha/ux-nervure) and nervure/laravel (was benmacha/laravel-nervure), in the repositories nervurejs/symfony and nervurejs/laravel. The Symfony Stimulus controller is now nervure--symfony--chart and its assets @nervure/symfony: update assets/controllers.json and any event listener (nervure--symfony--chart:connect). The old packages are abandoned in favour of the new ones.

0.13.1 - 2026-12-03 ​

Changed ​

  • The project moved to the nervurejs organisation: https://github.com/nervurejs/nervure, with the PHP packages in nervurejs/ux-nervure and nervurejs/laravel-nervure (the old addresses redirect).
  • The website is now https://nervurejs.github.io, with the same paths; nervure.benmacha.tn redirects every page there. The package metadata on npm points to the new addresses.

0.13.0 - 2026-12-02 ​

Added ​

  • 3D charts, in their own entry nervure/3d (or cdn/nervure.3d.min.js after nervure.min.js, 14.5 kB gzipped; the main file does not grow): pie3d, donut3d, columns3d (shape: box | cylinder | cone | pyramid), stacked3d (percent), ribbon3d, surface3d (wireframe), scatter3d (drops), pyramid3d, funnel3d and map3d, drawn in SVG with light and shade from the palette. All take view: { azimuth, elevation }. With rotate: true a drag turns the view, and so do the arrow keys on the turn button; the chart is drawn again from the new eye. Tooltips, keyboard reading, legend, exports and nervure/lazy work as for every chart. A "3D" group in the gallery (bars3d moved into it, 230 entries, 209 types) and a guide page, /guide/3d, which also says when 3D is a bad idea.

0.12.0 - 2026-12-02 ​

What Chart.js does and nervure did not: events on marks, a tooltip you control, legend options, plugins, stack groups, colours worked out from values, point shapes, richer axes, line segments, and more ways to animate.

Added ​

  • Events on marks: onClick and onHover render options receive the point under the pointer (chart type, series, stack, segment, label, value, index, item of the spec, colour, DOM event); onHover gets null when the pointer leaves. Enter on a mark reached with the keyboard calls onClick. Works on xy, pie, scatter, radar, heatmap, waterfall, treemap, pack, funnel and every chart with tooltips. Vue @click / @hover, React onClick / onHover, point-click / point-hover events on <nervure-chart>.
  • Tooltip: tooltip: false, or { format, html, position } for every chart; html gets an escape helper and loses scripts and event attributes. showTooltip(series, index), hideTooltip() and setActive(series, index) on the handle.
  • Legend: legend takes { position: 'top' | 'bottom' | 'left' | 'right', align, onClick } (return false to keep a series); pie and radar take legend too. legendItems() on the handle, to write a legend of your own with toggle().
  • Plugins: plugins render option and registerPlugin(), with beforeDraw, afterDraw and onDestroy, the plot area, the hole of round charts and two layers, under and above the chart. nervure/plugins ships plotAreaBorder, centerLabel and emptyState, outside the main bundle.
  • Stack groups on xy charts: stack on a series. With stacked, bars sharing a stack pile up and the stacks stand side by side in each category, with a space between them, vertical or horizontal; stacked: 'percent' fills 100 % stack by stack, totals writes one total by stack, and the keyboard says the stack.
  • Colours from values: color and colors of a series take (value, index, category) => colour (for example red below zero); pie charts take color: (value, index, name) => colour and scatter charts color: (y, index, label) => colour. The legend and the exports use the first colour worked out. From code only, not from JSON.
  • Point shapes: dots: { shape, size } with circle, square, triangle, diamond, cross, star or rect-rot, on line and area points, scatter points (shape), radar corners (dots) and in the legend. On lines cut into segments, points take the colour of their segment; dashed lines and dashed segments have no points.
  • radius (corner radius of the bars) and barWidth (share of a category taken by its bars) on xy charts.
  • Axes: suggestedMin, suggestedMax, step, ticks, tickFormat(value, index) and grid (false, or { dashed, color }) on each axis of xy charts; scatter and bubbles take xAxis and yAxis with the same options (log scale included) and center: true for axes crossing at zero. New type AxisScale.
  • Lines: gaps: 'break' | 'join' | 'zero' for missing values of lines, areas and bands (break stays the default); segments draw a stretch of a series another way (dashed, color, opacity, label), such as a forecast, with every curve, areas, zoom, keyboard reading and export.
  • Animation: named easings (linear, ease, ease-in, ease-out, ease-in-out, bounce, elastic), loop: true to replay the entrance, and line: 'trace' | 'grow' | 'draw' for how the lines of xy charts come in. Nothing moves or loops for readers who ask for less motion.
  • Guide pages Events, Tooltip, Legend, Plugins, Series and bars, Axes, and Lines, gaps and segments; gallery samples bar_stack_groups and line_points (216 entries).

Changed ​

  • A tap opens the tooltip on touch screens. radar, heatmap and waterfall are read mark by mark with the keyboard.
  • The shared core grew with events, tooltip control and plugins: one chart alone is now 13 to 15 kB gzipped (was 11 to 13), lines and bars 24 kB, the one-file build 178 kB (budget 180 kB).

0.11.0 - 2026-12-02 ​

Added ​

  • Mermaid import, nervure/mermaid: fromMermaid(text) turns Mermaid diagram text into a spec, and gives null for what it does not read, so an app can fall back to Mermaid. parseMermaid(text) also gives the kind of diagram and what was left out. Flowcharts, sequence diagrams, Gantt charts, timelines, mindmaps, pies, user journeys, quadrant charts, entity relationship diagrams, Kanban boards, XY charts and Sankey diagrams; front matter, fences, directives and comments are taken away. XY charts are read as assistants write them too: spaces between thousands, unquoted titles, one value per line, a missing xychart-beta header. In the browser: cdn/nervure.mermaid.min.js, loaded after cdn/nervure.min.js.
  • quadrant: xRange and yRange, the ends of the axes, so the lines between the zones cross at a known value.

Fixed ​

  • kanban: no negative card width when many columns share a narrow chart.

0.10.0 - 2026-12-02 ​

Added ​

  • 63 new chart types and one new gallery entry: 214 charts and maps in all (199 types)
    • Health (new health family, 20): blood pressure, glucose, heart rate zones, BMI, growth percentiles, vaccines, medication, pain scale, mood, fever, oxygen saturation, steps, nutrition, cycle wheel, hospital wards, emergency triage, epidemic curve, dental chart, audiogram, lab panel
    • Places (new places family, 19): transit map, departures board, stadium, car park, warehouse, meeting rooms, queues, lifts, property card, neighbourhood flower, skyline, bus line, exhibition hall, marina, energy label, travel time rings, route steps, train crowding, train graph
    • Sport (new sport family, 18): shot map, pass network, touch map, basketball shots, tennis score and serves, swimming, track race, cycling stage, golf, running splits, match timeline, pizza, face-off, win probability, fight card, chess evaluation, medal table
    • Maps (6): flow, spike, dot density, hexbin, pin and pie maps; choropleth gallery entry for map

Changed ​

  • The browser one-file build no longer carries the made-up data and the dashboard templates: they are in cdn/nervure.samples.min.js, to load after cdn/nervure.min.js for nervure.sample() and nervure.template(). Imports from nervure/samples and nervure/templates are unchanged.
  • Budget of the one-file build: 180 kB gzipped (173 kB with 199 types).
  • The thresholds of the health charts (blood pressure, BMI, hearing loss, fertile window) are general display rules, not medical advice.

0.9.0 - 2026-12-02 ​

Added ​

  • 47 new chart types and 4 new gallery entries: 150 charts and maps in all (136 types)
    • Distribution: density, cumulative distribution (ecdf), Q-Q plot, raincloud, Wilkinson dot plot, strip plot, density contours, regression with its confidence band, forecast fan; bubble chart sample
    • Comparison: diverging bars, range bars, barcode, Cleveland dot plot, circular bars, small multiples (facet), bubble matrix, scorecard, nested bars; 100 % stacked bars (stacked: 'percent' on xy)
    • Finance and time: point and figure, market depth, volume profile, drawdown, monthly returns, time spiral, Gantt with dependencies, milestones, 24-hour clock (new time family)
    • Flows and diagrams: alluvial, nested circle packing, adjacency matrix, tidy tree, swimlane, customer journey, pyramid, decision tree, roadmap, SWOT, work breakdown structure
    • Domains and maps: activity rings, battery, weather forecast, league table, sleep stages, elevation profile, seat map, moon phases, Dorling cartogram; bubble map and globe samples
  • Reading: linked cursors between charts (sync, syncZoom, also for dashboards), time axis on xy (xScale: 'time'), keyboard reading of every mark with a live region, data table beside a chart (table)
  • Dense scatter plots painted on a canvas (render: 'canvas' | 'auto'), with hover, click and export
  • nervure/render: any chart as an SVG string on a server, without a browser; toMarkdown(spec)
  • Markdown export (toMarkdown(), toolbar md) and Figma export (toSVG({ figma: true }), copyForFigma(), toolbar figma)
  • PHP packages: benmacha/ux-nervure (Symfony UX: Twig component, Stimulus controller, chart builder) and benmacha/laravel-nervure (Blade component, @nervureScripts, Livewire support)
  • Home page: the leaf of the logo, animated

Changed ​

  • The one-file build grows to 128 kB gzipped (budget 132 kB); one chart alone is 11 to 13 kB, with the new reading features in the core

0.8.0 - 2026-12-01 ​

Added ​

  • thin on lines, areas and bars: long series keep their peaks and dips with far fewer points
  • Kagi chart (kagi): a price line that turns only on a large enough move, thick above the last high, thin below the last low
  • Kanban board (kanban): columns of cards with tags, people and a limit of work per column
  • Shaded zones on lines and bars (zones): a period or a range of values
  • Progress bars: a mark (target) and a second line (detail) on each bar
  • Gauges: several marks (target: [100, 90]), and a figure that follows the size of the gauge (figureSize to set it)

Fixed ​

  • SVG export: the namespace was written twice in some engines, which gave a file other programs refused
  • Shares of pies, funnels and sunbursts no longer take the format of the values (no more "12,5 € %")
  • The marks of a gauge stay on its band and no longer cross the figure

0.7.0 - 2026-12-01 ​

Added ​

  • 13 charts by domain: pitch, circuit, tournament bracket, podium, ranking, bar race, body, organ, heartbeat, floor plan, building, table plan, parliament
  • Zoom and drag for any chart (zoom option), and for prices with axes drawn again
  • Dashboard templates by trade (nervure/templates): real estate, restaurant, sport, health, business, finance, education, logistics
  • True sizes on maps: equalEarth and gallPeters projections, area, areaOf
  • Animated picture in the readme

0.6.0 - 2026-12-01 ​

Added ​

  • Figures that count and stop exactly (nervure/figure, <nervure-figure>, Figure in React, NervureFigure in Vue); the figures of kpi, gauge, liquid, speedometer, thermometer and progress count too
  • Formats by options: currencies, percentages, units, short numbers from a threshold with your letters
  • Comparisons with arrows: last year, a target, anything, in percent or in value

Changed ​

  • format takes a function or options

0.5.0 - 2026-12-01 ​

Added ​

  • MCP server for AI assistants (npx -y nervure), a skill and a Claude Code plugin
  • Documentation site: a page for each chart with code that runs, a page for each map, an editor, comparisons, guides for Symfony and Laravel, brand page
  • The 24 governorates and the delegations of Tunisia, places without regions, ISO codes and subregions of every country
  • Sharing images for each page

Fixed ​

  • Steep ribbons of a sankey keep their width
  • The export button no longer covers the last tick of a right axis

0.4.0 - 2026-12-01 ​

Added ​

  • 62 chart types: finance, distribution, comparison, circular, flow, diagrams, grids and maps
  • Map files: world, continents, regions of every country, French departments and municipalities (nervure/maps)
  • Dashboards with linked legends and movable cards (nervure/dashboard)
  • Stimulus controller for Symfony UX, Rails and Laravel (nervure/stimulus)
  • Animation options: speed, duration, delay, stagger, easing, effect, and when to start; play()
  • Export menu, CSV, and a title, a subtitle and a caption written in the file only
  • Themes by name, --nervure-* CSS variables; styles of the page are kept in exports
  • Legend that shows and hides series, zoom by dragging, log scale
  • nervure/lazy, which fetches a chart type the first time it is drawn, and nervure/core with the charts you pick
  • registerChart for your own chart types, and sample data for each type (nervure/samples)

Changed ​

  • One file for each chart; strict lint, types and a size budget
  • The CDN file is built for each release and no longer kept in the repository

0.3.0 - 2026-12-01 ​

Added ​

  • Vue component, Svelte action, <nervure-chart> web component; the React component is ready for Next.js
  • Live data: live, poll, events, socket, append, with retries, pause in hidden tabs and throttling
  • eventStream for servers that speak Web Response objects
  • One-file build for CDNs (cdn/nervure.min.js)
  • refresh, to draw new data without animation
  • Documentation site, playground and llms.txt

Changed ​

  • update merges its options with the previous ones

0.2.0 - 2026-12-01 ​

Added ​

  • Charts: treemap, packed circles, funnel, waterfall, heatmap, timeline, radial tree, sparkline
  • Colours: palette in the theme, setColor, setPalette, resetColors; color is now optional everywhere
  • Labels: heading, subheading, axis titles, own text per value, turned category names, labels on lines and scatter points
  • Reference lines and notes, in the spec or with addLine and addAnnotation
  • Smooth and step lines, gauge target, scatter groups and legend, own format per axis
  • decorate, insetTop and insetBottom to add a header or a watermark

Fixed ​

  • CSS variables are resolved in exports
  • Axis numbers and last category no longer overlap or leave the drawing on narrow screens

0.1.0 - 2026-12-01 ​

First version: lines, areas, bands, bars, two axes, donut, radar, gauge, scatter, React wrapper, SVG and PNG export.