Skip to content

Sunburst: add props.innerRadius similar to how Pie works #1649

@derrickbeining

Description

@derrickbeining

Is your feature request related to a problem? Please describe.
I need to be able to customize the size of the center hole in Sunburst. I noticed that the Pie component is able to do this with the innerRadius prop. Would it be possible to expose a similar customization to Sunburst?

Describe the solution you'd like
Add innerRadius: number prop to SunburstProps to expose control over the radius of the center hole in a Sunburst.

Describe alternatives you've considered
Retiring to the countryside.

Additional context
Screen capture of Pie chart doing what I want Sunburst to be able to do:

nivo-pie-inner-radius.mov

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions