visx
freeAirbnb's low-level D3 + React primitives (scales, shapes, axes) for custom charts.

Try these
Recharts
Composable SVG charts for React; the engine behind shadcn/ui charts.
nivo
Rich, themeable React charts in SVG, canvas or HTML, with motion and patterns built in.
Unovis
Modular, framework-agnostic charts and network graphs from F5, styled with CSS variables.
Motion
The default animation library for React (formerly Framer Motion): springs, gestures, layout and exit animations.
Looks that pick it
Academic paperfirst pickScrollytellingfirst pickCorporate / dashboardFluentMaterial Design 2HealthcareCivic / public service
For your agent
Install
npm i @visx/xychart @react-spring/webUse it for
- bespoke charts that match a design exactly (editorial graphics, custom dashboards)
- chart types other libraries lack: heatmaps, network graphs, annotations
- keeping bundle small by importing only the scale and shape packages you use
Skip it when
- a standard bar or line chart needed today: use recharts
- large real-time data: use uplot
What's inside16 free
- Line
- Area
- Area Stack
- Bar
- Bar Group
- Bar Stack
- Glyph (scatter)
- Pie / Arc
- Heatmap
- Sankey
- Chord
- Hierarchy (tree, treemap, pack, partition)
- Network
- Geo (maps)
- Wordcloud
- Box plot / Violin (stats)
Facts
- Frameworks
- react
- Styling
- unstyled
- Weight
- small
- Accessibility
- ok
- Maturity
- established
- License
- MIT
- Price
- Free
Pairs with
import { XYChart, Axis, LineSeries, Tooltip } from '@visx/xychart'
const x = (d: { date: string; value: number }) => d.date
const y = (d: { date: string; value: number }) => d.value
<XYChart height={240} xScale={{ type: 'band' }} yScale={{ type: 'linear' }}>
<Axis orientation="bottom" />
<LineSeries dataKey="visits" data={data} xAccessor={x} yAccessor={y} />
<Tooltip snapTooltipToDatumX showVerticalCrosshair renderTooltip={({ tooltipData }) => <div>{tooltipData?.nearestDatum?.key}</div>} />
</XYChart>https://visx.airbnb.tech/gallery
Loading website