Skip to content

Function: sunburstLayout()

ts
function sunburstLayout(root, opts?): SunburstArc[];

Defined in: charts/sunburst.ts:61

Lay a hierarchy out into flat annular sectors. Angular span is proportional to summed leaf value; each depth occupies its own radius ring. Side-effect-free.

Parameters

ParameterType
rootSunburstNode
optsSunburstLayoutOptions

Returns

SunburstArc[]

MIT licensed. WebGL2 required.