# What changed in @visx/xychart

> 10 changes in @visx/xychart 3 to 4 from its official release notes, upgrade guides and advisories: 5 breaking. Each one cited. Sources checked 2026-10-25. HTML: https://unstale.sh/npm/@visx/xychart/

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

## @visx/xychart 4

### Breaking changes

- Upgraded to version 3, which may affect behavior inherited from this dependency. (4.0.0) — [release notes](https://github.com/airbnb/visx/releases/tag/v4.0.0)
- Upgraded to version 3, which may affect behavior inherited from this dependency. (4.0.0) — [release notes](https://github.com/airbnb/visx/releases/tag/v4.0.0)
- React 18 or 19 is now required; React 19 is supported. (4.0.0) — [release notes](https://github.com/airbnb/visx/releases/tag/v4.0.0), [upgrade guide](https://github.com/airbnb/visx/blob/HEAD/MIGRATION.md)

### Behavior and default changes

- Changed to an optional peer dependency. (4.0.0) — [release notes](https://github.com/airbnb/visx/releases/tag/v4.0.0)

### Fixes and other changes

- Tightened the empty-data guard. (4.0.0) — [release notes](https://github.com/airbnb/visx/releases/tag/v4.0.0)
- Removed the console.debug message shown when overriding existing registry keys. (4.0.0) — [release notes](https://github.com/airbnb/visx/releases/tag/v4.0.0)
- Fixed stacked bars when the x-axis contains a mix of strings and numbers. (4.0.0) — [release notes](https://github.com/airbnb/visx/releases/tag/v4.0.0)
- Prevents tickFormat from receiving incorrect intermediate values on initial render. (4.0.0) — [release notes](https://github.com/airbnb/visx/releases/tag/v4.0.0)

## @visx/xychart 3

### Breaking changes

- Removed deprecated LinePathAnnotation. (3.0.0) — [release notes](https://github.com/airbnb/visx/releases/tag/v3.0.0)
- Responsive and xychart now require ResizeObserver or a polyfill. (3.0.0) — [release notes](https://github.com/airbnb/visx/releases/tag/v3.0.0)
