{"version":"1.0","type":"rich","title":"Rendering data with react","description":"A donut chart displays all CSS named colors, with each color represented as a slice of equal size. The React application loads color data from a CSV file using `d3.csv()`, then uses the `d3.pie()` and `d3.arc()` generators to compute and render SVG paths. React hooks like `useState` and `useEffect` manage the asynchronous data loading, while each path’s fill is set from the `RGB hex value` column in the dataset.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/af3f90083c0041d48720b13ed9057d9e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}