About
An interactive donut pie chart with a month selector that highlights the active slice and total, 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 Interactive to your project and fits it to your theme.
Code
How Pie Chart Interactive is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import PieInteractive from "@/components/ui/tanstack-charts-pie-interactive";
export default function PieInteractiveDemo() {
return (
<div className="flex w-full items-center justify-center p-8">
<PieInteractive />
</div>
);
}
















