Skip to content
tastebase

tastebase

Sign in

Your agent gets your look, hearts and dislikes in every project. Folders follow you to every device.

We keep the name, avatar and email your provider shares. Nothing else.

visx

free

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

by Airbnb GitHub npm
visit
visx website

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

For your agent

Install
npm i @visx/xychart @react-spring/web
Use 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
Alternatives
Compare visx with its alternatives
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>
Visit