Stacked Density
Stacked density plot combines smooth curves for multiple groups, revealing overlaps and distribution trends.
Stacked Density
Processing
Stacked density plot combines smooth curves for multiple groups, revealing overlaps and distribution trends. This visualization brick prepares the necessary data structures for generating the density plot, which typically involves transforming quantitative data (values) grouped by categorical data (groups).
Inputs
- values
- The quantitative data used for calculating density.
- groups
- The categorical data used for grouping the density curves.
Inputs Types
| Input | Types |
|---|---|
values |
List, DataSeries, NDArray, DataRecords, DataFrame |
groups |
List, DataSeries, NDArray, DataRecords, DataFrame |
You can check the list of supported types here: Available Type Hints.
Outputs
- values
- The input values data, passed through.
- groups
- The input groups data, passed through.
Outputs Types
| Output | Types |
|---|---|
values |
List, DataSeries, NDArray, DataRecords, DataFrame |
groups |
List, DataSeries, NDArray, DataRecords, DataFrame |
You can check the list of supported types here: Available Type Hints.
Options
The Stacked Density brick contains some changeable options:
- Values field
- Specifies the name of the column containing the quantitative data used for density calculation. (Default:
values) - Groups field
- Specifies the name of the column containing the categorical data used to define the groups. (Default:
groups) - Smoothed counts
- If enabled, the density calculation will output smoothed counts instead of normalized density values. (Default:
False)
Brick Info
-
-