npm / @observablehq/plot
@observablehq/plot
What changed in @observablehq/plot 0.6, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-06.
2 breaking8 new APIs and options3 behavior and defaults1 tooling15 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@observablehq/plot 0.629 changes
Breaking changes 2
Markers no longer inherit strokeDasharray.
Pointer tips are exclusive by default.
New APIs and options 8
Adds a line option to the area mark.
Adds a top-level legend option.
Adds support for the light-dark(…) color syntax.
Opacity scales now support ordinal scales.
Opacity scales now support threshold scales.
Adds the pool mark option.
Adds a colorSpace option to the raster mark, allowing P3 colors.
Adds support for retrieving the projection scale with plot.scale("projection").
Behavior and default changes 3
Defaults to zero offset in windowless environments.
Defaults to comma-less tick formatting when tick values are likely year integers.
Defaults z to null when a redundant color encoding is detected.
Tooling 1
Plot is distributed as an ES module bundle instead of separate source files.
Fixes and other changes 15
Fixed package exports, affecting how developers can import the package.
Types now allow a null scale transform.
The area mark now respects the reduce option when using the interval transform.
Fixes default colors for the box mark to support dark mode.
The color legend now supports P3 colors.
Prevents a crash in the dodge transform when the radius is negative.
Types now allow legend options within scale options.
The opacity legend now respects currentColor and supports dark mode.
The pointer transform now allows pointerdown event propagation.
The stack transform now preserves NaN.
The tip mark arrow is smaller when using a corner anchor.
The tip mark now ignores the contours channel.
The tip mark now ignores literal symbols.
Prevents a crash when the tip mark's title channel contains null.
Fixes default colors for the tree transform to support dark mode.