About
A combo area/bar/line chart with a pinned, pointer-anchored tooltip that shows a nested breakdown of metrics for the hovered data point.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Pinned Nested Chart Tooltip to your project and fits it to your theme.
Code
How Pinned Nested Chart Tooltip is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import PinnedNestedChartTooltip from "@/components/ui/tanstack-charts-pinned-nested-chart-tooltip";
export default function Demo() {
return (
<div className="flex w-full items-center justify-center p-8">
<PinnedNestedChartTooltip />
</div>
);
}
















