Skip to main content
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.
Scatter Plot Widget Example

When to Use

Use scatter plot widgets to:
  • Explore correlations between two numerical metrics
  • Identify outliers in multi-dimensional data
  • Visualize X-Y relationships, with larger dots where several items share a point
  • Spot clusters or patterns across evaluation items

Configuration

Required Fields

string
required
Widget display name shown on the dashboard
string
required
Must be set to “scatter”
object
required
SeriesQuery selecting raw numeric columns for the x and y axes. Select only those two columns to make the axes predictable.

X-Axis Configuration

Set config.x_column. The API also accepts config.x_column_group in its place, but the scatter plot doesn’t draw it.
string
required
The COLUMN item in select to plot on the x-axis, matched by its alias or column name. Must be a numeric column. The first other COLUMN item in select is plotted on the y-axis.Example: "accuracy_score" - plots accuracy on the x-axis

Query Requirements

Scatter plot widgets require a SeriesQuery with:
  • At least two numeric COLUMN items selected (one for x-axis, one for y-axis)
  • Only COLUMN items. An aggregation collapses the result to one row with no x or y values, and the chart is empty. The UI has no Group By option
  • Rows without a numeric x or y value are skipped
You can include a filter to narrow the items. Use raw item rows without groupBy, as shown below.
Rows with the same x and y values are drawn as one dot. Dot size grows with the number of rows at that point, scaled relative to the largest duplicate count in the result. Dot size is calculated automatically; you don’t need to select a count or size column.

Creating in the UI

1

Open Widget Creator

From your dashboard, click “Add Widget” and select “Scatter Plot”
2

Enter Title

Give your chart a descriptive name (e.g., “Accuracy vs. Relevance”)
3

Configure Axes

Scatter Plot Form
  • X-Axis: Select the numeric column for the horizontal axis, with an optional alias
  • Y-Axis: Select the numeric column for the vertical axis, with an optional alias
  • Filter: Add conditions to narrow the data (optional)
4

Create Widget

Click “Add” to generate the scatter plot
Created Scatter Plot Widget

Output Format

Scatter plot widgets return one row per evaluation item:
Each row is a point on the scatter plot. In this example, the two rows at (92, 85) are drawn as one larger dot than the single row at (78, 91).

Example Use Cases

Use Case 1: Accuracy vs. Relevance Scores

Explore the relationship between accuracy and relevance across evaluation items.

Use Case 2: Overall Score vs. Response Length

Explore whether longer responses correlate with higher or lower scores.