> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# Treemap()

- Package: [@gooddata/sdk-ui-charts](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-charts/index.md)
- Kind: function
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-charts/src/charts/treemap/Treemap.tsx
- Guides: [Treemap](https://www.gooddata.ai/docs/gooddata-ui/latest/visualisations/treemap/index.md)

Treemap chart presents your data hierarchically as nested rectangles.

**Signature:**

```typescript
export declare function Treemap(props: ITreemapProps): import("react/jsx-runtime").JSX.Element;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| props | [ITreemapProps](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-charts/sdk-ui-charts.itreemapprops/index.md) |  |

**Returns:**

import("react/jsx-runtime").JSX.Element

## Remarks

Treemaps are useful for comparing proportions within the hierarchy.

See [ITreemapProps](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-charts/sdk-ui-charts.itreemapprops/index.md) to learn how to configure the Treemap and the [treemap documentation](https://www.gooddata.com/docs/gooddata-ui/latest/references/visual_components/treemap) for more information.
