Eval charts.
For Svelte.
A small, opinionated charting component for showing model evals. Drop it in. Customize the colors. Ship.
npm install @poolsideai/pooleval
Beautiful eval charts
Super simple charts. Numbers count up, bars rise from the floor. Hover any column for the model name.
Monochromatic mode + theming
Pass monochromatic to drop the canonical brand colors and
let icons inherit your theme. The highlighted icon picks up --pe-icon-highlight alongside its bar.
With units. Without animation.
Pass unit per data point and animate={false} to
disable the count-up.
Rotated labels
Pass labels={true} to show compact model names below
the provider icons. The label lane is measured from the longest label.
Custom provider icons
Keep using built-in provider keys, or pass a Svelte component with providerIcons for your own provider marks. A datum-level icon can override a single column.
Interactive sandbox
Tune chart props, data, and theme settings in realtime. Configure to your liking, then export the code to use in your own project.
Design tokens
Pass these keys to theme or darkTheme. Dark values
override the same token when the user prefers a dark color scheme.
| Token | Default Value | Description |
|---|---|---|
bar-color | #d6d6d6 | Default bar fill. |
bar-highlight | #7c3aed | Highlighted bar fill and focus ring. |
bar-width | 22px | Width of each bar column. |
bar-radius | 0px | Corner radius for bars. |
bar-gap | 18px | Space between bar columns. |
text-color | #b0b0b0 | Base text color for labels and count fallback. |
text-highlight | #7c3aed | Highlighted label color and count fallback. |
font | "JetBrains Mono", ui-monospace, monospace | Base font inherited by labels, counts, and tooltips. |
font-size | 13px | Base chart font size inherited by counts. |
count-color | Inherits from text-color | Optional override for numeric counts above bars. |
count-highlight | Inherits from text-highlight | Optional override for highlighted count text. |
count-font | Inherits from font | Optional count font override. |
count-font-size | Inherits from font-size | Optional count font-size override. |
tooltip-bg | #111 | Tooltip background color and arrow fill. |
tooltip-color | #fff | Tooltip text color. |
tooltip-radius | 6px | Tooltip corner radius. |
tooltip-font | Inherits from font | Optional tooltip font override. |
tooltip-font-size | Inherits from font-size | Optional tooltip font-size override. |
baseline-color | rgba(0, 0, 0, 0.10) | Baseline stroke color. |
baseline-width | 1px | Baseline thickness. |
baseline-padding | 10px | How far the baseline extends beyond the outside bars. |
baseline-offset | 0px | Vertical offset from the bar baseline. |
icon-color | #d6d6d6 | Monochromatic icon color. |
icon-highlight | #7c3aed | Highlighted monochromatic icon color. |
icon-fg | #111 | Foreground color for full-color provider icons. |
icon-size | 20px | Provider icon size. |
icon-gap | 12px | Space between bar base and icon. |
label-color | Inherits from text-color | Optional rotated label text color override. |
label-highlight | Inherits from text-highlight | Optional highlighted label text color override. |
label-font | Inherits from font | Optional rotated label font override. |
label-font-size | 11px | Optional rotated label text size override. |
label-gap | 8px | Space between icon and rotated label. |
bg | transparent | Chart wrapper background. |