Pace UI

Treemap Chart

Dashboards 1

About

A squarified hierarchical treemap chart that tiles nested package/file data as proportionally sized rectangles, useful for visualizing file sizes or category breakdowns in analytics dashboards.

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 Treemap from "@/components/ui/tanstack-charts-treemap";

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

Dependencies

More by Pace UI

View all
  • Dot Loader

    Dot Loader

    976
  • Flip Reveal

    Flip Reveal

    670
  • Dot Flow

    Dot Flow

    271
  • Draw Line Text

    Draw Line Text

    123
  • Liquid Glass

    Liquid Glass

    65
  • Liquid Cursor

    Liquid Cursor

    51
  • Layered Stack

    Layered Stack

    50
  • Calendar Heatmap Chart

    Calendar Heatmap Chart

    22

More in Dashboards

View all
  • Fernly — Project Management Dashboard with Kanban

    Fernly — Project Management Dashboard with Kanban

    754
  • Analytics Dashboard

    Analytics Dashboard

    82
  • Creator Dashboard

    Creator Dashboard

    216
  • Insights Dashboard

    Insights Dashboard

    44
  • Corbel — Sales Analytics Dashboard

    Corbel — Sales Analytics Dashboard

    458
  • 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

    66

Explore more

Part of Pace UI — browse the full library on 21st.dev.