Grouped Bar Chart
Grouped bar chart comparing multiple categories across different groups.
Grouped Bar Chart
Graph
Creates a grouped bar chart that compares multiple categories across different groups. The chart uses aggregation on the y-axis data and groups bars by color field, allowing for visual comparison of values across different categories and groups.
Inputs
- x
- The data for the x-axis categories (nominal values)
- y
- The data for the y-axis values (quantitative values that will be aggregated)
- color
- The data field used for grouping bars by color and creating separate groups
Inputs Types
Input | Types |
---|---|
x |
List , DataSeries , NDArray , DataRecords , DataFrame |
y |
List , DataSeries , NDArray , DataRecords , DataFrame |
color |
List , DataSeries , NDArray , DataRecords , DataFrame |
You can check the list of supported types here: Available Type Hints.
Outputs
- x
- The processed x-axis data for chart rendering
- y
- The processed y-axis data for chart rendering
- color
- The processed color grouping data for chart rendering
Outputs Types
Output | Types |
---|---|
x |
List , DataSeries , NDArray , DataRecords , DataFrame |
y |
List , DataSeries , NDArray , DataRecords , DataFrame |
color |
List , DataSeries , NDArray , DataRecords , DataFrame |
You can check the list of supported types here: Available Type Hints.
Options
The Grouped Bar Chart brick contains some changeable options:
- 'x' data field
- Specifies the field name for x-axis categorical data (default: "x")
- 'y' data field
- Specifies the field name for y-axis quantitative data (default: "y")
- Groups field
- Specifies the field name for color grouping data that creates separate bar groups (default: "color")
- 'y' data aggregation
- Defines how y-axis data should be aggregated, with options including sum, mean, maximum, minimum, count, or sample standard deviation (default: "count")
Brick Info
version
v0.1.4
python
3.10,
3.11,
3.12,
3.13
requirements
-
-