About
A donut/pie chart that shows a hollow inner radius with an aggregated KPI total text label centered in the hole, useful for analytics dashboards and data insight summaries.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Center Donut Chart to your project and fits it to your theme.
Code
How Center Donut Chart is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import CenterDonut from "@/components/ui/tanstack-charts-center-donut";
export default function Preview() {
return (
<div className="flex items-center justify-center p-8">
<CenterDonut />
</div>
);
}








