About
A multi-series line chart that shows a single shared tooltip grouping every series' value at the hovered date, for comparing categories like industries over time.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Grouped Tooltip Chart to your project and fits it to your theme.
Code
How Grouped Tooltip Chart is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import GroupedTooltipChart from "@/components/ui/tanstack-charts-grouped-tooltip";
export default function GroupedTooltipChartDemo() {
return (
<div className="flex w-full items-center justify-center p-8">
<GroupedTooltipChart />
</div>
);
}








