Variable: sunburst
ts
const sunburst: ExpressFunction<HierarchyOptions>;A sunburst chart (px.sunburst): one sunburst trace, from names / parents / ids / values columns or built from path (with branchvalues: 'total'); color colors the sectors, through layout.coloraxis when numeric (values-weighted means on inner nodes), else from the colorway or colorDiscreteMap ('(?)' for nodes whose rows differ).
Example
ts
const figure = sunburst(rows, { path: ['continent', 'country'], values: 'pop', color: 'lifeExp' });