npm / @visx/xychart
@visx/xychart
What changed in @visx/xychart 3 to 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-25.
5 breaking1 behavior and defaults4 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@visx/xychart 48 changes
Breaking changes 3
Upgraded to version 3, which may affect behavior inherited from this dependency.
Upgraded to version 3, which may affect behavior inherited from this dependency.
React 18 or 19 is now required; React 19 is supported.
Behavior and default changes 1
Changed to an optional peer dependency.
Fixes and other changes 4
Tightened the empty-data guard.
Removed the console.debug message shown when overriding existing registry keys.
Fixed stacked bars when the x-axis contains a mix of strings and numbers.
Prevents tickFormat from receiving incorrect intermediate values on initial render.
@visx/xychart 32 changes
Breaking changes 2
Removed deprecated LinePathAnnotation.
Responsive and xychart now require ResizeObserver or a polyfill.