About
An animated bar chart that traces the hovered bar's value with a spring-animated reference line and a live numeric readout.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Hover Trace Bar Chart to your project and fits it to your theme.
Code
How Hover Trace Bar Chart is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import EvilHoverTraceBarChart from "@/components/ui/hover-trace-bar-chart";
export default function HoverTraceBarChartDemo() {
return (
<div className="w-full h-screen flex items-center justify-center bg-background p-8">
<div className="w-full max-w-xl h-96">
<EvilHoverTraceBarChart />
</div>
</div>
);
}








