{"version":"1.0","type":"rich","title":"Rendering Data with React","description":"This example shows a pie chart of CSS named colors, where each slice is filled with the color it represents, using React to render SVG elements. It loads color data from a CSV file via the D3 `csv` function, then uses the D3 `pie` and `arc` generators to compute slice angles and paths. React’s `useState` and `useEffect` hooks manage asynchronous data fetching and rendering, while `ReactDOM.render` mounts the component. The visualization demonstrates a seamless React-D3 integration for declarative data-driven graphics.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/96d6fbb329924ed5aafbe5b39534c752?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}