Skip to content

Span waterfall

One run's steps, and where the time went.

Definition · Updated Nov 2, 2026

A span waterfall draws each step of one run as a bar starting where it began, so the slow step stands out. A second marker can show the run time after a fix. Use it for agent runs, traces and request timings.

Pay once. Every update included.

Live preview

Spans of one run, now and after the fixThe run takes 9.1 s; its 6 fetches run one after another for 6.1 s. Run in parallel after the fix, the run takes 4.4 s.RUNPLANFETCH 1–6RANKWRITE0 S4 S6 S10 S9.1 s0.8 s6 × 6.1 s0.5 s1.7 sAFTER FIX 4.4 SNOW 9.1 SSPANSLOW SPANAFTER FIX
Spans of one run, now and after the fix
SpanStartDurationStart after fixDuration after fix
RUN0.0 s9.1 s
PLAN0.0 s0.8 s
FETCH 10.8 s1.1 s0.9 s1.1 s
FETCH 21.9 s0.9 s0.9 s0.9 s
FETCH 32.8 s1.0 s0.9 s1.0 s
FETCH 43.8 s1.2 s0.9 s1.2 s
FETCH 55.0 s0.8 s0.9 s0.8 s
FETCH 65.8 s1.1 s0.9 s1.1 s
RANK6.9 s0.5 s2.1 s0.5 s
WRITE7.4 s1.7 s2.6 s1.7 s

Sample data: one 9.1 s run, plan 0.8 s, six fetches 6.1 s, write 1.7 s, 4.4 s after the fix

Size
Legend
Data shape
Steps with a start and a length
Good for
Agent runs, traces, request timings
Avoid when
Steps are nested deeply
Sizes
XS, S, M and L, re-laid out from the data

Anatomy

Inspect it like the Figma file.

The same layers, names and tokens as the component. Select one to read its size, fill and style.

Layers

107 / Span waterfall

chart/107-span-waterfall
plot · span waterfall
Layer
span · run
Type
Rectangle
Size
605 × 10
Fill
data/cat-2
Radius
2
Group
Marks · 20

Layers

107 / Span waterfall

chart/107-span-waterfall
plot · span waterfall
Layer
span · run
Type
Rectangle
Size
157 × 10
Fill
data/cat-2
Radius
2
Group
Marks · 20

Sizes

Re-laid out, never scaled.

The same data at XS, S, M and L. Every size is redrawn from the data, so text and line weights never shrink.

M against S

Width360 px480 px

Plot328 px440 px

Labels1818

Marks2020

Height212 px246 px

Same tokens at every size: text styles, 1 px lines and mark radius stay put.

When to use

Which step is slow.

Three signs it fits, and three signs another type fits better.

Are the steps in one flat list?

Steps nested in steps.

Yes: Keep the span waterfall

Is it one run?

Many runs.

Yes: Keep the span waterfall

Is it time, not money?

A cash walk.

Yes: Keep the span waterfall

Code and Figma

One name in Figma and in code.

Every Figma property is a prop with the same name and values. One command installs it.

Figma

chart/107-span-waterfall

size
legend
Property = propValuesDefault
size"xs" · "s" · "m" · "l""xs"
legendtrue · falsetrue
color"cat-1" · "cat-2" · "cat-3" · "cat-4""cat-1"
npx shadcn add @chartory/span-waterfall
span-waterfall.tsx
import { SpanWaterfall } from "@/components/chartory/span-waterfall"import { runSpans } from "./run-spans"export function RunSpans() {  return (    <SpanWaterfall      data={runSpans}      size="m"      legend={true}    />  )}

Hearth widget

Span waterfall as a widget.

The chart in a Hearth card with a hero number and two blocks. One token set, light and dark.

Get the code

EmberPreset

ChartoryDefault preset

Pick the blocks, the size and the preset for your own widget.

Read the Hearth widget docs

FAQ

Span waterfall questions.

What people ask before they put a span waterfall in a dashboard.

Something else?

hello@usechartory.com
  • The run time if the slow span is fixed (4.4 s against 9.1 s now), drawn as its own marker.

Related types

The same question, a different shape of answer. Every type ships in Figma and in code.

Same family

Schedule and status

19 types in Chartory answer this question.