{"version":"1.0","type":"rich","title":"Rendering Data with React","description":"This example renders a pie chart of CSS named colors using React for the user interface and D3 for the data loading and geometry. The `d3.csv` function fetches color data from a remote gist, while React's `useState` and `useEffect` manage the asynchronous loading state. Each slice is drawn as an SVG path using `d3.arc` and `d3.pie`, with the fill color pulled directly from the dataset's hex values. The visualization displays the full spectrum of named colors as equal-sized wedges.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/4b489ddc3727464f84671bfc474c6ed8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}