{"version":"1.0","type":"rich","title":"Rendering data with React","description":"This example displays a pie chart of CSS named colors loaded from a CSV file, with each slice filled according to its corresponding hex value. D3’s `csv` and `pie` utilities parse the data and compute arc angles, while `d3.arc` generates the SVG path geometries. React’s `useState` and `useEffect` hooks manage the asynchronous data loading, and React maps the pie slices to SVG `<path>` elements. The visualization uses an SVG rendering approach with a fixed width and height.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/1cdf3f4f8761427eb260f45e6b9df66f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}