# What changed in @observablehq/plot

> 29 changes in @observablehq/plot 0.6 from its official release notes, upgrade guides and advisories: 2 breaking, 8 new APIs and options. Each one cited. Sources checked 2026-11-06. HTML: https://unstale.sh/npm/@observablehq/plot/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @observablehq/plot 0.6

### Breaking changes

- Markers no longer inherit strokeDasharray. (0.6.18) — [release notes](https://github.com/observablehq/plot/releases/tag/v0.6.18)
- Pointer tips are exclusive by default. (0.6.18) — [release notes](https://github.com/observablehq/plot/releases/tag/v0.6.18)

### New APIs and options

- Adds a line option to the area mark. (0.6.18) — [release notes](https://github.com/observablehq/plot/releases/tag/v0.6.18)
- Adds a top-level legend option. (0.6.18) — [release notes](https://github.com/observablehq/plot/releases/tag/v0.6.18)
- Adds support for the light-dark(…) color syntax. (0.6.18) — [release notes](https://github.com/observablehq/plot/releases/tag/v0.6.18)
- Opacity scales now support ordinal scales. (0.6.18) — [release notes](https://github.com/observablehq/plot/releases/tag/v0.6.18)
- Opacity scales now support threshold scales. (0.6.18) — [release notes](https://github.com/observablehq/plot/releases/tag/v0.6.18)
- Adds the pool mark option. (0.6.18) — [release notes](https://github.com/observablehq/plot/releases/tag/v0.6.18)
- Adds a colorSpace option to the raster mark, allowing P3 colors. (0.6.18) — [release notes](https://github.com/observablehq/plot/releases/tag/v0.6.18)
- Adds support for retrieving the projection scale with plot.scale("projection"). (0.6.18) — [release notes](https://github.com/observablehq/plot/releases/tag/v0.6.18)

### Behavior and default changes

- Defaults to zero offset in windowless environments. (0.6.18) — [release notes](https://github.com/observablehq/plot/releases/tag/v0.6.18)
- Defaults to comma-less tick formatting when tick values are likely year integers. (0.6.18) — [release notes](https://github.com/observablehq/plot/releases/tag/v0.6.18)
- Defaults z to null when a redundant color encoding is detected. (0.6.18) — [release notes](https://github.com/observablehq/plot/releases/tag/v0.6.18)

### Tooling

- Plot is distributed as an ES module bundle instead of separate source files. (0.6.18) — [release notes](https://github.com/observablehq/plot/releases/tag/v0.6.18)

### Fixes and other changes

- Fixed package exports, affecting how developers can import the package. (0.6.19) — [release notes](https://github.com/observablehq/plot/releases/tag/v0.6.19)
- Types now allow a null scale transform. (0.6.19) — [release notes](https://github.com/observablehq/plot/releases/tag/v0.6.19)
- The area mark now respects the reduce option when using the interval transform. (0.6.18) — [release notes](https://github.com/observablehq/plot/releases/tag/v0.6.18)
- Fixes default colors for the box mark to support dark mode. (0.6.18) — [release notes](https://github.com/observablehq/plot/releases/tag/v0.6.18)
- The color legend now supports P3 colors. (0.6.18) — [release notes](https://github.com/observablehq/plot/releases/tag/v0.6.18)
- Prevents a crash in the dodge transform when the radius is negative. (0.6.18) — [release notes](https://github.com/observablehq/plot/releases/tag/v0.6.18)
- Types now allow legend options within scale options. (0.6.18) — [release notes](https://github.com/observablehq/plot/releases/tag/v0.6.18)
- The opacity legend now respects currentColor and supports dark mode. (0.6.18) — [release notes](https://github.com/observablehq/plot/releases/tag/v0.6.18)
- The pointer transform now allows pointerdown event propagation. (0.6.18) — [release notes](https://github.com/observablehq/plot/releases/tag/v0.6.18)
- The stack transform now preserves NaN. (0.6.18) — [release notes](https://github.com/observablehq/plot/releases/tag/v0.6.18)
- The tip mark arrow is smaller when using a corner anchor. (0.6.18) — [release notes](https://github.com/observablehq/plot/releases/tag/v0.6.18)
- The tip mark now ignores the contours channel. (0.6.18) — [release notes](https://github.com/observablehq/plot/releases/tag/v0.6.18)
- The tip mark now ignores literal symbols. (0.6.18) — [release notes](https://github.com/observablehq/plot/releases/tag/v0.6.18)
- Prevents a crash when the tip mark's title channel contains null. (0.6.18) — [release notes](https://github.com/observablehq/plot/releases/tag/v0.6.18)
- Fixes default colors for the tree transform to support dark mode. (0.6.18) — [release notes](https://github.com/observablehq/plot/releases/tag/v0.6.18)
