Accessible React charts with purposeful motion.
Seventeen chart types, three styles, and a data table behind every chart. A React chart library built for keyboards, screen readers and reduced motion.
View data
| Label | Value |
|---|---|
| Jan | 32 |
| Feb | 46 |
| Mar | 63 |
| Apr | 58 |
| May | 71 |
| Jun | 84 |
<BarChart title="Revenue by month" data={data} variant="pixel" />Seventeen charts, one shape of data
Most charts take a list of labels and values. Pass it in, pick a style, and every chart draws itself once.
View data
| Label | Value | Balance |
|---|---|---|
| Opening | 240 | 240 |
| Sales | 160 | 400 |
| Refunds | -48 | 352 |
| Upsell | 72 | 424 |
| Churn | -35 | 389 |
| Closing | 389 | 389 |
View data
| Label | Value |
|---|---|
| Organic | 46 |
| Direct | 24 |
| Referral | 18 |
| Paid | 12 |
View data
| Row / Column | Value |
|---|---|
| Morning, Mon | 12 |
| Morning, Tue | 28 |
| Morning, Wed | 34 |
| Morning, Thu | 19 |
| Morning, Fri | 8 |
| Afternoon, Mon | 22 |
| Afternoon, Tue | 41 |
| Afternoon, Wed | 47 |
| Afternoon, Thu | 38 |
| Afternoon, Fri | 25 |
| Evening, Mon | 9 |
| Evening, Tue | 14 |
| Evening, Wed | 21 |
| Evening, Thu | 17 |
| Evening, Fri | 30 |
View data
| Label | Value |
|---|---|
| W1 | 1,240 |
| W2 | 1,385 |
| W3 | 1,362 |
| W4 | 1,604 |
| W5 | 1,718 |
| W6 | 1,693 |
| W7 | 1,921 |
View data
| Label | Value |
|---|---|
| Jan | 32 |
| Feb | 46 |
| Mar | 63 |
| Apr | 58 |
| May | 71 |
| Jun | 84 |
Read any value, then keep it
Hover or focus a mark to read it. Click to pin it while you look elsewhere. Every chart has a table with the same numbers.
- Hover or focus
- Shows the value.
- Click, tap, Enter or Space
- Pins it. Hovering other marks will not replace it.
- Escape
- Clears the pin.
Accessible by default
Not a layer you add later. It is how the charts are drawn.
Keyboard ready
Every mark is a keyboard target with a visible focus ring.
Data tables
A collapsible HTML table carries the same values as the chart.
Motion that stops
Geometry draws in once. Reduced-motion preferences always win.
Honest errors
Bad data shows a visible error, never a misleading chart.
Themeable
Light and dark are built in. Everything else is a CSS variable.
Typed
Written in TypeScript with declarations for every component.
Self-hosted font
DM Sans ships in the bundle, so nothing calls Google Fonts.
Server rendering
Charts render on the server and work in the App Router.
Install, import, render
React, React DOM and Motion are peer dependencies. Requires React 18 or newer.
View data
| Label | Value |
|---|---|
| Jan | 32 |
| Feb | 46 |
| Mar | 63 |