Box Plot (Labs)

A box plot visualization node. The view can be accessed either via the “interactive view” action on the executed node or on KNIME WebPortal.
In the node configuration, you can enable certain controls, which are then available in the view. This includes the ability to choose different dimension columns and a condition column or the possibility to set a title. The configuration also offers a preview of the view, which should help to get the box plot fast in the desired shape.

A box plot is constructed in the following way: The box itself goes from the lower quartile (Q1) to the upper quartile (Q3). The median is drawn as a horizontal bar inside the box. The distance between Q1 and Q3 is called the interquartile range (IQR).
Above and below the box are the so-called whiskers. They are drawn at the minimum and the maximum value as horizontal bars and are connected with the box with a line. The whiskers never exceed 1.5 * IQR. This means if there are some data points which exceed either Q1 - (1.5 * IQR) or Q3 + (1.5 * IQR) than the whiskers are drawn at exactly these ranges and the data points are drawn separately as outliers.

Since missing values as well as NaN (not a number) cannot be displayed in the view, they will be omitted.

Note, this node is currently under development. Future versions of the node might have improved or changed functionality. Interactivity between multiple views is currently only possible with views also coming from this labs extension.

Options

Dimension columns
Select the columns with numerical values for which you wish to plot boxes. Note: Missing and NaN (not a number) values in a dimension column will be ignored with a corresponding warning message. If all values from which a box is computed are missing or NaN, the box will be excluded from the view and a warning message will be raised.
Condition column
Select a column with respect to which a conditional box plot should be created. The values of the selected column are treated as categories. For each of these categories there is one box (indicated by color) within each of the dimensions. Note: Missing values are treated as a separate category.
Title
The title of the graph shown above the generated image. If left blank, no title will be shown.
Dimension axis label
The label used for the horizontal dimension axis. If left blank, no label will be shown.
Value axis label
The label used for the vertical value axis. If left blank, no label will be shown.
Value axis range
Choose if the axis range of the value axis should be calculated automatically by the charting framework or the domain range should be used. You might need to use a Domain Calculator or Edit Domain node before this node.
Display legend
When checked, the chart’s legend containing the categories of the condition column is displayed.
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 box will show information about the data.
Enable animation
When checked, the animation of the graph is active.

Input Ports

Icon
Data table containing the dimensions and conditions to be plotted in a box plot.

Output Ports

This node has no output ports

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

Box Plot (Labs)
A box plot visualization of the input data.

Workflows

  • No workflows found

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.