{"version":"1.0","type":"rich","title":"Rendering Data with React","description":"This example visualizes CSS named colors as an array of filled arc paths, each mapped to its corresponding hex value. Using React’s useState and useEffect hooks, it loads a CSV of color names via d3.csv, then renders an SVG where every color occupies a slice of a semicircle. The pie layout is generated with d3.arc, while React handles state-driven rendering and a loading message. The data originates from a gist by Curran, and the visualization updates asynchronously once the CSV is fetched.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e80a5fe4368446598cf2960d264e8840?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}