About
A squarified treemap chart that sizes tiles by market cap (or weight) and colors them on a diverging red-to-green scale to visualize price change across a set of assets or sectors.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Market Heatmap to your project and fits it to your theme.
Code
How Market Heatmap is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import MarketHeatmap from "@/components/ui/market-heatmap";
export default function MarketHeatmapDemo() {
return (
<div className="w-full max-w-2xl">
<MarketHeatmap />
</div>
);
}








