Donut Chart
A circular chart with a hole in the center that shows the proportional composition of a dataset.
Automatic Installation
This method is still working on progress, please use manual installation for now.
Manual Installation
Install dependencies
npm install radix-ui
Copy the code
import { type DonutChartStyles, donutChartStyles } from './donut-chart.css'
const DonutChart = () => {
return null
}
export { DonutChart }
Usage
Imports
import {} from '#/components/donut-chart'
Example
Browse the Storybook for more examples.
Anatomy
// WIP
Edit on GitHub
Last updated on 3/27/2025