Scatter Plot

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 size of a sample you want to display and enable certain controls, which are then available in the view. This includes the ability to choose different columns for x and y or the possibility to set a title.
The configuration also offers a preview of the view, which should help to get the scatter plot in the desired shape quickly. Since missing values as well as NaN (not a number) or infinite values cannot be displayed in the view, they will be omitted.

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

Options

Horizontal dimension
Defines the column that contains the values for x coordinates.
Vertical dimension
Defines the column that contains the values for y coordinates.
Color dimension
Defines the column used to color the data by. Only columns which have a color scheme associated can be selected. You might need to use a Color Manager node before this node to add color schemes to specific columns.
Max rows
Numerical value that restricts the number of rows used for this visualization.
Title
The title of the graph shown above the generated image. If left blank, no title will be shown.
Axis limits
Choose if the axis range should be calculated by the charting framework, 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 X-Axis. If the checkbox is deactivated, the label will correspond to the selected dimension. If activated and left blank, no label will be shown.
Horizontal axis scale
Choose if the X-Axis should be displayed in linear or logarithmic scale.
Custom vertical axis label
The label for the Y-Axis. If the checkbox is deactivated, the label will correspond to the selected dimension. If activated and left blank, no label will be shown.
Vertical axis scale
Choose if the Y-Axis should be displayed in linear or logarithmic scale.
Point size
Numeric value that defines the point size for each data point.
Reference lines
Allows to define customizable horizontal lines in the scatterplot for specific values of interest.
  • Value: Specifies the numerical value at which the reference line will be positioned.
  • Label: Assigns a text label to the reference line.
  • Line style: Determines the visual style of the reference line.
  • Line width: Controls the width of the reference line
  • Color: Adjusts the color of the reference line.
Enable image download
When checked, an image of the chart can be downloaded by clicking the image download button in the view.
Enable zoom
When checked, zooming in the chart is enabled.
Show tooltip
When checked, hovering over a data point 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 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 with data to display.

Output Ports

Icon
Rendered PNG image.

Views

Scatter Plot
A scatter plot 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.