Klar

Charts / React BI charts / Time series

Bump chart

Rank positions over eight quarters as smooth lanes, so you can follow who climbed, who slipped and when the order changed.

React component BumpChart, data through props. One or more measures over a continuous run of time. Tags: bump, rank, ranking, lanes, over-time, leaderboard.

Install

npm i klar-charts

import 'klar-charts/styles.css'
import { ThemeScope, BumpChart } from 'klar-charts'

# or copy the source:
npx shadcn@latest add https://klar.run/r/bi-bump.json

Usage

<BumpChart
  series={appRanks}
  periods={quarters}
  emphasis={emphasis}
  height={430}
  valueLabel="Weekly actives"
  valueFormat={(v) => fmt.short(v)}
/>

Related bump charts