About
A donut-style pie chart with a total count overlaid in the center, for summarizing categorical data like visitor counts on a dashboard.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Pie Chart Donut with Text to your project and fits it to your theme.
Code
How Pie Chart Donut with Text is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import PieDonutText from "@/components/ui/tanstack-charts-pie-donut-text";
export default function PieDonutTextDemo() {
return (
<div className="flex w-full items-center justify-center p-8">
<PieDonutText />
</div>
);
}
















