Legion Dev

Hover Trace Bar Chart

Component 60

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>
  );
}

Dependencies

More by Legion Dev

View all
  • CPU Architecture

    CPU Architecture

    1.9K
  • Database With REST API

    Database With REST API

    1.2K
  • Radar Chart

    Radar Chart

    352
  • Pie Chart

    Pie Chart

    222
  • Line Chart

    Line Chart

    127
  • Area Chart

    Area Chart

    110
  • Bar Chart

    Bar Chart

    98
  • LegionWebDev

    LegionWebDev

    86