/

Radial Bar Chart

Circular progress bars for comparing values. Each bar wraps around the center, making it easy to compare completion levels.

Usage

example.tsx
import { RadialBarChart } from "@chartts/react"

<RadialBarChart
  data={progressData}
  value="completion"
  label="task"
  max={100}
/>

Props

PropTypeDescription
dataT[]Array of data objects
valuekeyof TKey for bar values
labelkeyof TKey for labels
maxnumberMaximum value. Default: 100
innerRadiusnumberInner radius ratio. Default: 0.3
gapnumberGap between bars. Default: 4

Features

  • Multiple concentric bars
  • Percentage labels
  • Animated fill on mount
  • Custom color per bar
  • Center content slot
  • Responsive sizing

Other Charts