Histogram

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 binning method and enable certain controls, which are then available in the view. This includes the ability to choose different columns for the dimension or the possibility to set a title.
The configuration also offers a preview of the view, which should help to get the histogram in the desired shape quickly.
Missing values as well as NaN (not a number) or infinite values can be handled differently according to the configuration.

Interactivity between multiple views is currently only possible for views coming from the KNIME Views extension.

Options

Dimension
Select the column that contains the desired values.
Binning Type
Select the binning method used on the selected dimension.
No. bins
Number of bins to divide the data.
Enforce integer cutoffs
When checked, forces all cutoffs to the nearest integer.
Fix lower bound
When checked, it allows setting a lower bound.
Lower bound
Lower bound for the data.
Fix upper bound
When checked, it allows setting an upper bound.
Upper bound
Upper bound for the data.
Custom bin cutoffs
Input as comma-separated numbers e.g. '2,3.5,5'. First value is the fixed lower bound, last value is the fixed upper bound.
Special value handling
Select how to handle the special values such as missing values or filtered out values
Frequency axis shows
The data to show on the y axis.
Title
The title of the graph shown above the generated image. If left blank, no title will be shown.
Frequency axis limits
Choose if the axis range of the value axis should be calculated automatically by the charting framework or set manually.
Frequency axis max
Value that sets the horizontal axis maximum.
Custom dimension axis label
The label used for the dimension axis. If the checkbox is deactivated, the label will correspond to the selected dimension. If activated and left blank, no label will be shown.
Frequency axis label
The label for the y axis. If left blank, no label will be shown.
Show bar values
When checked, the values will be shown on top of each bar.
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 bar will show information about the data.
Selection
“Show” makes this view receive notifications about changes of the selection. “Edit” also allows you to change the selection and propagate any changes you make here to other views that show the selection.
Enable animation
When checked, the animation of the graph is active.
Generate image
If checked, adds an image output port and, upon execution, generates an image which is made available via this port.
Image type (SVG, PNG)
Choose between the superior quality provided by SVG vector graphics and the better performance of the PNG raster images. SVG graphics are sharp, also when zoomed, and text labels within the graphic can be searched for. On the other hand, PNG images can be smaller and render faster when there are many data points, for example, in a scatter plot.
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 values to be plotted in a histogram.

Output Ports

Icon
Rendered PNG image.

Views

Histogram
A histogram 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.