{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"A donut chart built with React and D3 displays the full distribution of colors from a CSV dataset of color names. The visualization renders every row as a single pie slice, using `d3.pie()` to compute the angles and `d3.arc()` to generate the SVG paths. Data loading is handled inside a React `useEffect` hook with `d3.csv`, while a loading state shows \"Loading...\" before the chart appears. The example demonstrates integrating D3’s data manipulation with React’s component lifecycle.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/36862b7e781f4d04b93efdb028bbd5e1?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}