{"version":"1.0","type":"rich","title":"Fork of Rendering data with React","description":"This example visualizes the CSS named colors as a pie chart, with each slice filled by the corresponding color’s RGB hex value. The visualization loads CSV data from a GitHub gist using `d3.csv`, then computes the pie layout with `d3.pie` and renders the arcs using `d3.arc`. Built with React, the component uses `useState` and `useEffect` to asynchronously fetch and store the data, displaying a “Loading...” message until the data arrives. The chart is drawn as an SVG, with each path element generated from the pie data.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9326f6a128b24694ac12e1b1093dbdd8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}