Rediger

Del via


Treemap

Applies to: ✅ Microsoft FabricAzure Data ExplorerAzure MonitorMicrosoft Sentinel

Treemaps display hierarchical data as a set of nested rectangles. Each level of the hierarchy is represented by a colored rectangle (branch) containing smaller rectangles (leaves).

Note

  • This visualization can only be used in the context of the render operator.
  • This visualization can be used in Kusto.Explorer but is not available in the Azure Data Explorer web UI.

Syntax

T | render treemap [with (propertyName = propertyValue [, ...])]

Learn more about syntax conventions.

Parameters

Name Type Required Description
T string ✔️ Input table name.
propertyName, propertyValue string A comma-separated list of key-value property pairs. See supported properties.

Supported properties

All properties are optional.

PropertyName PropertyValue
series Comma-delimited list of columns whose combined per-record values define the series that record belongs to.

Example

StormEvents
| summarize StormEvents=count() by EventType, State
| sort by StormEvents
| limit 30
| render treemap with(title="Storm Events by EventType and State")

Screenshot of treemap visualization output.