Bar Chart

Bar chart to compare values across categories.

Bar Chart

Processing

Bar chart to compare values across categories. This brick visualizes the relationship between categorical labels (X-axis) and quantitative values (Y-axis).

Inputs

labels
The data used for category labels (typically mapped to the X-axis).
values
The data used for quantitative values (typically mapped to the Y-axis).

Inputs Types

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

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

Outputs

labels
The original labels input data, passed through for chaining to subsequent bricks.
values
The original values input data, passed through for chaining to subsequent bricks.

Outputs Types

Output Types
labels List, DataSeries, NDArray, DataRecords, DataFrame
values List, DataSeries, NDArray, DataRecords, DataFrame

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

Options

The Bar Chart brick contains some changeable options:

Labels field
Specifies the field name within the input data (labels input) that should be used for the X-axis categories. Defaults to labels.
Values field
Specifies the field name within the input data (values input) that should be used for the Y-axis quantitative values. Defaults to values.
Data aggregation
Defines the mathematical method used to aggregate the values field if multiple records fall under the same label (e.g., sum, mean, max, min, count, stdev). Defaults to count.

Brick Info

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