Hierarchical
Interactive

Treemap

Treemaps visualize hierarchical data by nesting rectangles within rectangles, where the size of each rectangle is proportional to its value. They efficiently use space while showing part-to-whole relationships across multiple levels. Treemaps are excellent for visualizing file system storage, market sectors, organizational budgets, and any nested categorical data with associated quantities.

Interactive Visualization

Loading interactive chart...

This is an interactive treemap. You can zoom, pan, and hover over elements for details.

Try this prompt

"Use squarify with matplotlib (for static) or plotly (for interactive drill-down) to create a treemap of the 'Global Market' by 'Sector' and 'Industry'. Color by 'Growth Rate'. Generate a proper example dataset to demonstrate this visualization."
Generate this now

Common Use Cases

  • 1Disk space usage visualization
  • 2Stock market sector breakdown
  • 3Corporate budget visualization
  • 4E-commerce category sales

Pro Tips

Use tooltips for detailed information

Limit hierarchy depth to 3-4 levels

Color by a separate metric for additional insight