About
A two-period line chart that connects paired values per category to visualize relative rate-of-change, such as metro wage inequality shifting between two years.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Slopegraph Chart to your project and fits it to your theme.
Code
How Slopegraph Chart is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { SlopegraphChart } from "@/components/ui/tanstack-charts-slopegraph";
export default function SlopegraphChartDemo() {
return (
<div className="flex w-full items-center justify-center p-8">
<SlopegraphChart />
</div>
);
}








