About
A multi-series line chart that shows a single grouped tooltip combining every series' value at the hovered X position, useful for comparing categories over time on an analytics dashboard.
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>
);
}
















