Function: addSunburst()
ts
function addSunburst(plot, opts): PatchesLayer;Defined in: charts/sunburst.ts:121
Build a sunburst from a hierarchy and add it as a PatchesLayer centered at (0,0). Set the plot's equalAspect: true so the rings stay circular.
Parameters
| Parameter | Type |
|---|---|
plot | Plot |
opts | SunburstOptions |