---
schema_version: "1"
id: e2cd62fcd43b234c366fb342b639fdb2fa0754ddc893301d3f852cbbacc07e74
title: Treemap Charts
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/analytics/264-0-0/bi_chart_intro_treemap.md
canonical_url: https://help.salesforce.com/s/articleView?id=analytics.bi_chart_intro_treemap.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: fac359dcd5efc8016297e6bcd1bd001a79e26cace73615d81fe3e7cc15d32067
description: Use treemaps to visualize hierarchical quantitative data, where containing rectangles designate relationship using color, and "leaf" rectangles represent quantity using area.
products:
  - CRM Analytics
  - Cross Cloud
release: "264"
---
# Treemap Charts

Use treemaps to visualize hierarchical quantitative data, where containing rectangles designate relationship using color, and "leaf" rectangles represent quantity using area.

## Create a Treemap Chart

Treemap charts are especially useful for visualizing groupings that are difficult to organize well using other types of charts.

For example, you can show the number of opportunities by state or province in each country in a way that reveals top markets.

1. In the lens, click ![Chart Mode button](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/bi/images/bi/bi_chart_mode_button.png) and then select the **Treemap** chart type.
2. In the Segment Size field, add a measure, such as total opportunity amount.
3. In the Segments field, add one or more dimensions to analyze the measure by. For example, select **Billing Country** and **Billing State/Province**.
    
    In the treemap chart, each color represents a country, as indicated in the legend. Each rectangle represents a state or province in a country. The high-value states and provinces are easy to spot. Using tooltips, you can view details for any rectangle representing a state.
    
    ![Analytics charts treemap chart of opportunities by city](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/bi/images/bi/bi_chart_treemap_city_opps.png)
4. To change the chart display, click ![Formatting button](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/bi/images/bi/bi_button_formatting.png) and set the chart properties in the Formatting panel.
    
    ![Analytics treemap chart properties](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/bi/images/bi/wave_charts_treemap_chart_properties.png)