Density

A density plot displays a smooth curve that estimates the distribution of a variable.

Density


Graph

A density plot displays a smooth curve that estimates the distribution of a variable by creating an area chart visualization with transformed density calculations.

Inputs

x
The input data containing the variable for which to estimate and display the density distribution

Inputs Types

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

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

Outputs

x
The original input data passed through unchanged

Outputs Types

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

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

Options

The Density brick contains some changeable options:

'x' data field
Specifies the field name in the input data to be used as the x-axis variable for density estimation (default: "x")
Smoothed counts
Toggle to use smoothed counts instead of density values in the transformation (default: False)

Brick Info

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