{"version":"1.0","type":"rich","title":"Rendering data with react","description":"This example visualizes a dataset of CSS named colors as a color wheel, with each color occupying a segment of a circle. The React component manages the asynchronous loading of the CSV data using the `useState` and `useEffect` hooks, and renders the result as SVG paths. D3’s `csv` utility fetches the data, while the `arc` generator defines the pie-shaped segments, with the fill set to the corresponding hex value from each row.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/493020d41b2e41b6b35f3a3bc0e681db?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}