{"version":"1.0","type":"rich","title":"Rendering Data with React & D3","description":"This example shows a pie chart of CSS named colors rendered as SVG, with data loaded from a CSV file using React and D3. The visualization fetches the dataset via `d3.csv`, then uses `d3.pie` and `d3.arc` to compute the arcs, while React manages the component state and renders the SVG elements. The chart is centered within a fixed viewport, and a loading message displays until the data arrives. The code integrates React hooks like `useState` and `useEffect` for asynchronous data handling, combining declarative UI with D3's data-joining capabilities.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6e8a73795293491cafa378306bcf75b6?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}