About
An interactive SVG chart showing an account's value against its cost basis over time, with a shaded drawdown-from-peak area, range selector, and hover crosshair readout.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Portfolio Chart to your project and fits it to your theme.
Code
How Portfolio Chart is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { PortfolioChart } from "@/components/ui/portfolio-chart";
export default function PortfolioChartDemo() {
return (
<div className="w-full max-w-2xl p-6">
<PortfolioChart />
</div>
);
}








