Visx is a collection of reusable low-level visualization components for React. D3 handles calculations while React updates the DOM, so you can build charts without D3 selection APIs.
Overview
Visx brings together low-level visualization building blocks for React applications. The collection is meant to help you assemble either a reusable in-house chart library or individual custom charts, while keeping dependencies minimal by importing only the packages you need.
Under the hood, D3 performs the numerical and geometric work. React owns rendering and updates, so you avoid mixing D3’s selection and enter, exit, and update patterns with React lifecycle code in effects.
The project is deliberately modular and split across multiple installable packages. It stays unopinionated about state management, animation, theming, and styling, so it can plug into choices your React app already makes.
Visx is not a turnkey charting library. You compose primitives into visualizations tailored to your product, with full control over APIs and appearance.
Animation is not built in by design; because components are ordinary React elements, you can drive motion with whatever React animation library you already use.
Key features
- Modular package layout
- D3 math with React rendering
- Reusable visualization primitives
- Unopinionated integrations
- Pick only needed packages
- No D3 selection workflow
- Custom chart library building blocks
- React-friendly component APIs
Use cases
- Custom charts in React products
- Shared team chart libraries
- Visualizations without deep D3 study
- Bundle-size-conscious data graphics
- Unified company visualization stack
Does the same job as
Visx doesn't name these products itself, but its own description shows it does the same job.