Grouped Bar Chart

Grouped bar chart comparing multiple categories across different groups.

Grouped Bar Chart

Processing

This brick generates a grouped bar chart visualization, allowing comparison of quantitative values across different categories within specific groups. The input data is passed through unchanged after the visualization is created.

Inputs

labels
Data containing the primary categories or labels for the X-axis of the chart.
values
Data containing the quantitative values used to determine the height of the bars.
categories
Data containing the grouping variable used to separate the bars and assign colors.

Inputs Types

Input Types
labels List, DataSeries, NDArray, DataRecords, DataFrame
values List, DataSeries, NDArray, DataRecords, DataFrame
categories List, DataSeries, NDArray, DataRecords, DataFrame

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

Outputs

labels
The original labels data, passed through.
values
The original values data, passed through.
categories
The original categories data, passed through.

Outputs Types

Output Types
labels List, DataSeries, NDArray, DataRecords, DataFrame
values 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 Grouped Bar Chart brick contains some changeable options:

Labels field
Specifies the column name within the input data that should be used for the main labels (X-axis).
Values field
Specifies the column name within the input data that should be used for the quantitative values (Y-axis/Bar Height).
Categories field
Specifies the column name within the input data used for grouping and coloring the bars.
Data aggregation
Selects the aggregation function (e.g., sum, mean, count) applied to the values before plotting.

Brick Info

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