About
An interactive area chart with switchable metric tabs for visualizing desktop vs mobile traffic over time, with a live tooltip and legend.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Area Interactive Chart to your project and fits it to your theme.
Code
How Area Interactive Chart is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import AreaInteractive from "@/components/ui/tanstack-charts-area-interactive";
export default function AreaInteractiveDemo() {
return (
<div className="w-full max-w-2xl p-4">
<AreaInteractive />
</div>
);
}
















