About
A concentric multi-ring donut chart that shows hierarchical category breakdowns, with an inner ring for parent categories and an outer ring for sub-item proportions.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Nested Donut Chart to your project and fits it to your theme.
Code
How Nested Donut Chart is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import NestedDonut from "@/components/ui/tanstack-charts-nested-donut";
export default function NestedDonutDemo() {
return (
<div className="flex w-full items-center justify-center p-8">
<NestedDonut />
</div>
);
}








