{"version":"1.0","type":"rich","title":"Fork of Loading Data with React & D3","description":"This example renders a pie chart of CSS named colors using React and D3 v5. It loads the data asynchronously from a CSV file via `d3.csv` into React state with `useState` and `useEffect`. The visualization computes pie arc paths using `d3.pie()` and `d3.arc()`, filling each slice with its corresponding CSS color value. While loading, a message prop from `message.js` displays the dataset’s size and row count, and the final SVG output fits 960 by 500 pixels.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d9ea2632fba645fb936e51ff5a73cf9e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}