Skip to content

waterfall ​

Use for ordered steps with a signed delta (y). Paint a running baseline; keep input order. series is ignored.

Do not use for independent category comparisons (bar) or non-negative stage drop-off (funnel).

x step · y signed delta · series ignored

Rules. Keep order. Each bar is labeled with the delta and the level after it. Optional role column marks total or subtotal. Duplicate step labels are allowed.

Example ​

chart
markvis: 2
type: waterfall
title: Concessions still cover Midtown rent after payroll
unit: USD k
x: step
y: delta

step,delta
Ticket sales,180
Concessions,64
Payroll,-90
Rent,-42
Utilities,-12
Concessions still cover Midtown rent after payroll waterfall chart. Concessions still cover Midtown rent after payroll. x=step. y=delta. unit=USD k. 5 rows. Concessions still cover Midtown rent after payrollConcessions still cover Midtown rent after payroll · USD k +180 → 180 +64 → 244 -90 → 154 -42 → 112 -12 → 100 0 100 200 300 Ticket sales Concessions Payroll Rent Utilities
Concessions still cover Midtown rent after payroll
stepdelta
Ticket sales180
Concessions64
Payroll-90
Rent-42
Utilities-12

When the block is wrong ​

The rows stay, with one line that names the error.

chart
markvis: 2
type: waterfall
innerRadius: 0.4
title: Wrong-type extra field
x: step
y: delta

step,delta
Open,80
Cost,-20
stepdelta
Open80
Cost-20

E_UNKNOWN_FIELD: undeclared fence field: innerRadius

Generated from packages/types/waterfall/ and the type's row in SPEC.md.

0.0.13 lives under legacy/