amankaushik481

Treemap Chart

Dashboards 6

About

A squarified SVG treemap chart that groups cells under header strips, hides labels in small cells, and shows a value tooltip on hover or keyboard focus.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Treemap Chart to your project and fits it to your theme.

Code

How Treemap Chart is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { TreemapChart } from "@/components/ui/treemap-chart";

export default function TreemapChartDemo() {
  return (
    <div className="flex w-full items-center justify-center p-8">
      <TreemapChart />
    </div>
  );
}

More by amankaushik481

View all
  • Icon Button

    Icon Button

    14
  • Background Boxes

    Background Boxes

    13
  • Chip Filter

    Chip Filter

    8
  • Typing Text

    Typing Text

    7
  • File Dropzone

    File Dropzone

    5
  • Emoji Picker

    Emoji Picker

    4
  • Morphing Text

    Morphing Text

    2
  • File List

    File List

    1

More in Dashboards

View all
  • Fernly — Project Management Dashboard with Kanban

    Fernly — Project Management Dashboard with Kanban

    751
  • Analytics Dashboard

    Analytics Dashboard

    81
  • Creator Dashboard

    Creator Dashboard

    216
  • Insights Dashboard

    Insights Dashboard

    44
  • Corbel — Sales Analytics Dashboard

    Corbel — Sales Analytics Dashboard

    446
  • serf dashboard

    serf dashboard

    144
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.7K
  • Halden — CRM Dashboard with Sales Pipeline

    Halden — CRM Dashboard with Sales Pipeline

    65