unstale

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

@unstale/cli 0.2.11 on npm

@observablehq/plot 0.629 changes

Breaking changes 2

New APIs and options 8

  • Adds a line option to the area mark.

    0.6.18release notes

  • Adds a top-level legend option.

    0.6.18release notes

  • Adds support for the light-dark(…) color syntax.

    0.6.18release notes

  • Opacity scales now support ordinal scales.

    0.6.18release notes

  • Opacity scales now support threshold scales.

    0.6.18release notes

  • Adds the pool mark option.

    0.6.18release notes

  • Adds a colorSpace option to the raster mark, allowing P3 colors.

    0.6.18release notes

  • Adds support for retrieving the projection scale with plot.scale("projection").

    0.6.18release notes

Behavior and default changes 3

  • Defaults to zero offset in windowless environments.

    0.6.18release notes

  • Defaults to comma-less tick formatting when tick values are likely year integers.

    0.6.18release notes

  • Defaults z to null when a redundant color encoding is detected.

    0.6.18release notes

Tooling 1

  • Plot is distributed as an ES module bundle instead of separate source files.

    0.6.18release notes

Fixes and other changes 15

  • Fixed package exports, affecting how developers can import the package.

    0.6.19release notes

  • Types now allow a null scale transform.

    0.6.19release notes

  • The area mark now respects the reduce option when using the interval transform.

    0.6.18release notes

  • Fixes default colors for the box mark to support dark mode.

    0.6.18release notes

  • The color legend now supports P3 colors.

    0.6.18release notes

  • Prevents a crash in the dodge transform when the radius is negative.

    0.6.18release notes

  • Types now allow legend options within scale options.

    0.6.18release notes

  • The opacity legend now respects currentColor and supports dark mode.

    0.6.18release notes

  • The pointer transform now allows pointerdown event propagation.

    0.6.18release notes

  • The stack transform now preserves NaN.

    0.6.18release notes

  • The tip mark arrow is smaller when using a corner anchor.

    0.6.18release notes

  • The tip mark now ignores the contours channel.

    0.6.18release notes

  • The tip mark now ignores literal symbols.

    0.6.18release notes

  • Prevents a crash when the tip mark's title channel contains null.

    0.6.18release notes

  • Fixes default colors for the tree transform to support dark mode.

    0.6.18release notes