React charts

Opinionated React charts for narrative business dashboards.

Bars, lines, waterfalls and runways that say what changed, and whether it is on plan.

Get startedSee the dashboards

npm i tally-charts

One chart, a few lines

Pass your rows and name the columns. The target, the labels and the loss color come from the same props.

margin-by-week.tsx
import { BarChart } from 'tally-charts'

<BarChart
  data={weeks}
  x="week"
  y="margin"
  domain={[26, 36]}
  format="percent"
  valueLabel="all"
  target={{ value: 32, label: 'Target 32%' }}
  tone={(d) => (d.margin < 32 ? 'loss' : 'accent')}
  title="Margin by week, last 6 weeks"
/>

Margin by week, last 6 weeks 2 weeks under target

Margin by week, last 6 weeks
WeekMargin
W134.2%
W235.1%
W333.0%
W433.6%
W530.2%
W629.4%

A visual language that reads at a glance

Four rules, the same in every chart. Readers learn them once.

Fifteen charts, one grammar

Pick the chart by the question it answers. Each page has live examples and a props table.

Nine reference dashboards

Live examples, rendered from the same code you can copy. Pick one to see it at full size.

Built for real dashboards

Draw your first chart

Install the package, pass your rows, name the columns.

npm i tally-charts
Getting started