Heatmap

The view can be accessed either via the “Open view” action on the executed node or on KNIME Hub.
In the node configuration, you can choose the columns to use for horizontal and vertical dimensions and enable certain controls, which are then available in the view. This includes the ability to choose different aggregation methods and the column with the data to color map or the possibility to set a title.
The configuration also offers a preview of the view, which should help to get the Heatmap in the desired shape quickly.

Options

Horizontal dimension
Select the column that contains the horizontal values. Note: Missing values are treated as separate value.
Vertical dimension
Select the column that contains the vertical values. Note: Missing values are treated as separate value.
Aggregation
Select the aggregation method used on the selected value column. If “None” is selected execution fails if the horizontal dimension contains duplicate values. If “Occurrence Count” is selected, the occurrence of the unique pairs of values of the selected horizontal and vertical column is determined.
Value dimension
Select the column that contains the values.
Title
The title of the chart shown above the generated image. If left blank, no title will be shown.
Axis limits
Choose if the axis range should be taken from the domain range or set manually. You might need to use a Domain Calculator or Edit Numeric Domain node before this node.
Horizontal min
Value that sets the horizontal axis minimum.
Horizontal max
Value that sets the horizontal axis maximum.
Vertical min
Value that sets the vertical axis minimum.
Vertical max
Value that sets the vertical axis maximum.
Custom horizontal axis label
The label for the horizontal axis. If the checkbox is deactivated, the label will correspond to the selected dimension. If activated and left blank, no label will be shown.
Custom vertical axis label
The label for the vertical axis. If the checkbox is deactivated, the label will correspond to the selected dimension. If activated and left blank, no label will be shown.
Show value labels
When checked, value labels will be shown for pieces of the heatmap.
Display colormap axis
When checked, the colormap axis is shown.
Colormap label
The label for the colormap. If left blank, no label will be shown.
Enable image download
When checked, an image of the chart can be downloaded by clicking the image download button in the view.
Show tooltip
When checked, hovering over a pie chart segment will show information about the data.
Enable animation
When checked, the animation of the graph is active.
Generate image
If checked, adds an image output port and, upon execution, generates a PNG image which is made available via this port.
Width
The width of the generated image (in pixels).
Height
The height of the generated image (in pixels).

Input Ports

Icon
Data table containing the categories and values to be plotted in a heatmap.

Output Ports

Icon
Rendered PNG image.

Views

Heatmap
A heatmap visualization of the input data.

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.