-
Notifications
You must be signed in to change notification settings - Fork 97
Description
Description
I am experiencing an issue when rendering a Sunburst chart with dynamic data fetched from an API. The chart renders correctly with static data, but with dynamic data, the chart shows a blank space and then another Sunburst chart.
Steps to Reproduce
Use static data to render the Sunburst chart: The chart renders correctly.
Fetch dynamic data from an API.
Implement a loading state while waiting for the API response.
Render the Sunburst chart once the data is fetched.
Expected Behavior
The Sunburst chart should render correctly with the dynamic data, without any blank spaces or duplicate charts.
Actual Behavior
A blank space appears where the chart should be.
Another Sunburst chart is rendered, leading to two charts being displayed: one blank and one with data.
Environment
Library Version: ^1.19.2
React Version: ^18.2.0
Vite Version :^5.0.8
Browser: CHrome
Operating System: Windows [10]