{"version":"1.0","type":"rich","title":"Visualizing Data with React & D3","description":"This example visualizes CSS named colors as a pie chart, with each slice filled by the corresponding color from the data. It loads a CSV of named colors using D3’s `csv` utility, then computes pie slice angles with `d3.pie` and renders the arcs as SVG paths via `d3.arc`. React manages the application state, displaying “Loading…” until the asynchronous data fetch completes, then renders the chart inside an SVG element. The code uses the `useState` and `useEffect` hooks to handle the data lifecycle.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c9de2f5fb9ed4377bbb81d88c550cf72?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}