Colored Scatterplot

A scatterplot using color to distinguish categories or highlight a third variable.

Colored Scatterplot

Processing

This function generates a scatterplot visualization where the color of the data points is used to distinguish between different categories or to highlight a third variable in the dataset. This allows for the simultaneous visualization of three dimensions (X, Y, and Color/Category).

Inputs

x
The data to be used for the quantitative X-axis of the scatterplot.
y
The data to be used for the quantitative Y-axis of the scatterplot.
categories
The categorical or quantitative data used to determine the color mapping for the data points.

Inputs Types

Input Types
x List, DataSeries, NDArray, DataRecords, DataFrame
y List, DataSeries, NDArray, DataRecords, DataFrame
categories List, DataSeries, NDArray, DataRecords, DataFrame

You can check the list of supported types here: Available Type Hints.

Outputs

x
The original X data stream is passed through unchanged.
y
The original Y data stream is passed through unchanged.
categories
The original Categories data stream is passed through unchanged.

Outputs Types

Output Types
x List, DataSeries, NDArray, DataRecords, DataFrame
y List, DataSeries, NDArray, DataRecords, DataFrame
categories List, DataSeries, NDArray, DataRecords, DataFrame

You can check the list of supported types here: Available Type Hints.

Options

The Colored Scatterplot brick contains some changeable options:

X field
Specifies the column name or field used for the X-axis mapping in the visualization. (Default: x)
Y field
Specifies the column name or field used for the Y-axis mapping in the visualization. (Default: y)
Categories field
Specifies the column name or field used for color-coding the data points in the visualization. (Default: categories)

Brick Info

version v0.2.0
python 3.10, 3.11, 3.12, 3.13
requirements
    -