Heatmap

Updated at:

A heatmap shows correlations between dimensions and is commonly used for models like market basket analysis. This topic explains how to add data to a heatmap and configure its styles.

Prerequisites

You must first create a dashboard. For more information, see Create a dashboard.

Overview

Use cases

Heatmaps are commonly used for models like market basket analysis.

Benefits

Visual styles: You can display the chart as a regular heatmap or a polar heatmap.

Exampleimage

Configure chart fields

  1. On the Fields tab on the right side of the chart, select the required dimension and measure fields.

    • From the Dimension list, double-click or drag the province field to the X-axis/Dimension area.

    • From the Dimension list, double-click or drag the product_type field to the Y-axis/Dimension area.

    • From the Measure list, double-click or drag the order_amount field to the Heat Depth area. The values in this field determine the color intensity.

    • (Optional) To represent data values by heat block size, drag a measure to the Shape Size/Measure area.

  2. Click Update, and the chart updates automatically. The updated chart is shown below.image

  3. (Optional) To view data for specific provinces, add a filter.image

    For more information about field filtering, see Filter fields.

  4. Auto refresh

    When enabled, the chart data refreshes automatically at a specified interval. For example, if you set the interval to 5 minutes, the chart will refresh every 5 minutes.

Configure chart styles

For information about how to configure Title and card styles, see Configure the chart title area.

Heat area

In the Heat area section, configure settings such as visualization style, data mapping range, heat color, and opacity.

Parameter

Description

Visualization style

You can set the style to regular heatmap or polar heatmap.image

Color settings

If you have added a dimension field to the Heat Depth area on the Fields panel, you can configure a color for each dimension value.image

Data mapping range

Specifies how data values are mapped to colors. Supported options are Equal Interval, Continuous Interval, and Custom Interval.p524630

  • Equal Interval

    You can set the number of intervals from 2 to 10.

  • Continuous Interval

    This is the default option.

  • Custom Interval

    • You can set the number of intervals from 2 to 10.

    • You can define the intervals based on absolute values or percentages, and set the minimum and maximum values.

Heat color

You can select a Sequential Gradient or Diverging Gradient color scheme.1

Opacity

Sets the opacity on a scale from 0% to 100%.2

Show divider

Specifies whether to show dividers between heat blocks and sets the divider color.111

Heat block shape

If you have added a field to the Shape Size/Measure area on the Fields panel, you can configure the shape size of the heat blocks.111

Heat block spacing

Sets the spacing between heat blocks. The value can range from 0 to 20 px.

50.gif

Note

This setting is available only for regular heatmaps.

Heat block corner radius

Sets the corner radius of the heat blocks. The value can range from 0 to 20 px.

51.gif

Note

This setting is available only for regular heatmaps.

Outlier processing

You can hide outliers or customize their display.3

Axes

In the Axes section, configure the styles of the axes.

Note

These settings apply to a regular heatmap. For a polar heatmap, you only need to configure Show outer axis labels and Show inner axis labels.

Name

Parameter

Description

x-axis

Show x-axis

Shows or hides the x-axis.

X-axis position

Sets the position of the x-axis to the top or bottom of the chart.

Show Title and Unit

Shows or hides the title and unit for the x-axis.

Show axis labels

Shows or hides x-axis labels. You can also configure the axis label display rule and text style.

The display rules include Smart Display, Force Sparse, and Show at Most.

55.gif

Show ticks

Shows or hides ticks on the x-axis.

Show axis

Shows or hides the axis line. You can also configure the line style, width, and color.

Left y-axis

Show left y-axis

Shows or hides the left y-axis.

Show Title and Unit

Shows or hides the title and unit for the y-axis.

Show axis labels

Shows or hides left y-axis labels. You can also configure the axis label display rule and text style.

Show ticks

Shows or hides ticks on the left y-axis.

Show axis

Shows or hides the left y-axis line. You can also configure the line style, width, and color.

Legend

In the Legend section, click the image icon to show the chart legend and configure its style.image

Parameter

Description

Legend type

If the Data Mapping Range is set to Equal Interval or Custom Interval, you can select a legend type. Options include Continuous, Categorical, and Block.111

Content

If you have added fields to both the Heat Depth and Shape Size areas on the Fields panel, you can select which field's legend to display.111

Position

Sets the display position and alignment of the legend.

  • If the position is set to Top or Bottom, you can select left, center, or right alignment.

  • If the position is set to Left or Right, you can select top, center, or bottom alignment. You can also set the distance between the legend and the chart.

111

Text

Configures the format of the legend text.111

Legend on mobile

PC and mobile legend settings are independent. To configure the mobile legend, switch to the mobile view using the PC/mobile toggle button (image) at the top of the dashboard editor.image

Data labels

In the Data Labels section, you can show or hide data labels and configure their text style. If the Visualization Style is regular heatmap and you have configured both the Heat Depth and Shape Size/Measure fields, you can also select what content to display in the labels.

image

Tooltip

In the Tooltip section, configure the style of the tooltips.

57.gif

Parameter

Description

Background color

Sets the background color of the tooltip.

Text

Sets the style of the text in the tooltip, including font color, size, weight, and style.

Tooltip on mobile

PC and mobile tooltip settings are independent. To edit mobile tooltips, switch to the mobile view using the PC/mobile toggle button (image) at the top of the dashboard editor. The font size can be set separately for PC and mobile, while other styles are applied to both.image

Conditional formatting

In the Conditional formatting section, apply formatting to data that meets specific conditions. To create a rule, click the image icon under Conditional style. In the Conditional formatting configuration dialog box, select the Icon option and configure its settings.

Note

Conditional formatting is available only for regular heatmaps.

image

Parameter

Description

Rule formulation

Based on field

Select the field to which you want to apply conditional formatting.

Condition selection

Choose the comparison method. Options include Compare with a fixed value and Compare with a dynamic field.

  • Compare with a fixed value: Compares data with a static number. For example, a rule could be sales > 600,000. This is useful for monitoring fixed thresholds.

  • Compare with a dynamic field: Compares data with the value or calculated result of another field. For example, a rule could be exceeds last month's sales by 20%. This is useful when evaluation criteria must change dynamically.

Conditional rule

Select a marker icon for the rule and define the specific comparison logic.

  • If you select Fixed Value, enter the static value for the rule.image

  • If you select Dynamic Field, select the field and calculation method for the comparison.image

More settings

Sets the size of the icons displayed in the chart.

Auxiliary display

In the Auxiliary Display section, configure the x-axis and y-axis thumbnails.

Note

Thumbnails are available only for regular heatmaps.

111

Chart analysis configuration

Parameter

Description

Drill-down

After configuring drill-down fields, you can set the display style for the drill-down hierarchy. For more information, see Drill-down.

Linkage

Use linkage to connect and analyze data across multiple charts. For more information, see Linkage.

Navigation

Use navigation to link and analyze data across multiple dashboards. Navigation options include Product internal jump, Component internal jump, and External link. For more information, see Navigation.