Using Sample Data: The examples on this page use fields from our sample dataset. Download it and create an evaluation with it to follow along with this tutorial.

When to Use
Use bar chart widgets to:- Compare values across categories or groups
- Show rankings or relative performance
- Visualize aggregated metrics by dimension
- Make patterns and outliers immediately visible
Configuration
Required Fields
Widget display name shown on the dashboard
Must be set to “bar”
SeriesQuery with
GROUP BY for categorical breakdownX-Axis Configuration (One Required)
You must provide eitherx_column or x_column_group, but not both:
Single column name to use for x-axis categories. Use for simple bar charts grouping by one dimension.Example:
"agent_name" - creates bars for each agentArray of column names for multi-dimensional grouping. Use for complex bar charts that group by multiple dimensions.Example:
["agent_name", "task_type"] - creates grouped bars combining agent and task typeOptional Config Fields
Controls whether multiple series are stacked or displayed side-by-side.
true(default): Stack bars on top of each other (useful for showing totals)false: Display bars side-by-side (better for comparing individual values)
Query Requirements
Bar chart widgets require a SeriesQuery with:groupByfor categorical breakdown (required)- Should have at least one aggregation for y-axis values
- Can include
filterfor row filtering
Creating in the UI
Configure Query

- Group By: Select the categorical dimension - these will be the bars on the y-axis
- Aggregation: Choose the metric to visualize (
AVG,SUM,COUNT) - Filter: Add conditions to narrow the data (optional)
Output Format
Bar chart widgets use the same series format as tables:Example Use Cases
Use Case 1: Average Score by Agent
Compare performance across different agents.
Use Case 2: Evaluation Count by Task Type
Show which task types have the most evaluations.
Use Case 3: High Performance Rate by Agent
Visualize percentage of evaluations scoring 85+ across agents.
Use Case 4: Multi-Dimensional Grouping with x_column_group
Group by multiple dimensions to create side-by-side bar comparisons. This example shows average scores grouped by both agent and task type.
Stacked vs Unstacked Series
When you have multiple series (e.g., multiple aggregations or groupings), you can control how they’re displayed:Stacked Bars (Default)

- Showing part-to-whole relationships
- Comparing total values across categories
- Visualizing composition over categories
Unstacked Bars (Side-by-Side)

- Comparing individual series values directly
- When exact values matter more than totals
- Multi-dimensional analysis (e.g., agent + task type)
Related Documentation
- Table Widget - Tabular alternative with more detail
- Histogram Widget - For numerical distributions
- Query Language -
GROUP BYand aggregation syntax - API Reference - Programmatic chart creation


