Cascade
<zyna-cascade>
Hierarchical split waterfall. A total fractures downward through successive levels; each level shows its proportional splits as stacked blocks, connected to their parent by tapering alluvial ribbons. It is "where did it go", level by level.
Demo
Where the appeal went
<zyna-cascade variant="sankey" level-labels='["Total","Region","Programme"]' data='{ "label":"Appeal","children":[ {"label":"East Africa","children":[ {"label":"Food","value":38},{"label":"WASH","value":22},{"label":"Health","value":15}]}, {"label":"MENA","children":[ {"label":"Shelter","value":30},{"label":"Protection","value":18}]}, {"label":"Sahel","value":24} ]}' ></zyna-cascade>
Usage Tips
- Leave parent values off and let the chart sum the leaves — one less thing to keep in sync.
- Tune
min-shareup to hide the long tail, or down to keep every sliver visible. - Leaf colours are inherited from their top-level branch, so each region and its programmes read as one colour family.
- Nesting is capped at four levels deep — past that, roll detail into the leaf labels.