{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example shows a ring of colored pie slices, each representing a CSS named color from a CSV file. The visualization uses React state to manage the data loading process, displaying a \"Loading...\" message until the data arrives. Once loaded, the app creates SVG path elements for each color, using D3's `arc` and `pie` functions to calculate the pie geometry. React's `useEffect` hook triggers the asynchronous `d3.csv` fetch, and the resulting data is rendered as a full circle of color swatches.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6067d4e04f784cd78dbf838f5c5afbfe?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}