Skip to main content
Version: 5.0

Tree Map

Overview

alt text Tree Map - is a type of visualization that displays data as a set of rectangles, with the area of each rectangle being proportional to the numerical value of the corresponding category.

Tree Map Visualization Settings

General

The General tab contains options for configuring the primary appearance settings of the visualization.

ParameterDescriptionJSON-field
AlgorithmSelector to configure the layout of elementsgeneral.layoutAlgorithm
Inner element padding, pxNumeric field to set the padding between elementsgeneral.nodePaddingInner
Outer panel padding, pxNumeric field to set the padding from the edge of the visualization containergeneral.nodePaddingOuter
Corner Radius, pxNumeric field to set the corner radius for elementsgeneral.cornerRadius
Sorting TypeSelector to choose the sorting algorithm for elementsgeneral.sortingType

The settings interface in the Search Anywhere Framework system looks as follows:

Colors Scheme

In the Colors scheme tab, the color scheme settings for the chart are available. A separate color can be assigned to each series. To do this, click the Add new rule, button and then specify the parameters.

ParameterDescriptionJSON-field
FieldData series to which the color should be assignedcolor.rulesArray.field
ColorColor selectorcolor.rulesArray.color

The settings interface in the Search Anywhere Framework system looks as follows:

Additionally, using the Colors scheme toggle, you can set an automatic color scheme that colors the chart series based on their numerical values. This mode supports the following parameters:

ParameterDescriptionJSON-field
Color of the minimumColor for series with the minimum valueminColor
Color of the maximumColor for series with the maximum valuemaxColor

The settings interface in the Search Anywhere Framework system looks as follows:

Creating a Tree Map Visualization

A Tree Map visualization can be created when using statistical commands such as: stats, aggs and others. In this case, a table with corresponding statistics will be returned.

For example, the query:

source wineventlog
| aggs count by host.name

Will return the following result:

alt text

After that, go to the Visualization tab, select the Tree map visualization type, and add it to the desired dashboard by clicking the Add to dashboard button.

alt text