Density
A density plot displays a smooth curve that estimates the distribution of a variable.
Density
Processing
A density plot displays a smooth curve that estimates the distribution of a variable. This function prepares the input data for visualization using a density plot, focusing on a single numerical variable.
Inputs
- values
- The data structure containing the numerical variable(s) for which the density distribution will be calculated.
Inputs Types
| Input | Types |
|---|---|
values |
List, DataSeries, NDArray, DataRecords, DataFrame |
You can check the list of supported types here: Available Type Hints.
Outputs
- values
- The original input data structure, which is passed through after processing for visualization.
Outputs Types
| Output | Types |
|---|---|
values |
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:
- Values field
- Specifies the column or field name in the input data that contains the numerical values used to estimate the density distribution.
- Smoothed counts
- If enabled, the density calculation will output smoothed counts instead of standard probability density estimates. (Default: False).
Brick Info
version
v0.2.0
python
3.10,
3.11,
3.12,
3.13
requirements
-
-