Skip to Content

Donut Chart with Center Total

Donut chart card for a breakdown and distribution: minutes by genre with the total printed in the center, and a footer list giving each genre's swatch, minutes and share.

Section
Charts
Built from
2 parts
Files
1 file
Added
Oct 17, 2026
pnpm dlx shadcn add @01orbital/pie-chart-01

Make it yours

  • Its words are in COPY at the top of components/blocks/charts/pie-chart-01/index.tsx: change them there, not in the markup.
  • GENRES, CHART_CONFIG and TOTAL, also at the top of the file, hold its lists and settings.

Built from

npm: recharts@3.8.0. The CLI installs them for you.

The parts it installs with it: