About
A solid-sector pie chart card that shows category share breakdown with a hover tooltip, built on TanStack Charts.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Pie Chart to your project and fits it to your theme.
Code
How Pie Chart is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { PieChart } from "@/components/ui/tanstack-charts-pie-chart";
export default function PieChartDemo() {
return (
<div className="flex w-full items-center justify-center p-8">
<PieChart />
</div>
);
}
















