{"version":"1.0","type":"rich","title":"Visualizing data with React & D3","description":"A donut chart displays the proportional distribution of CSS named colors, with each color category represented as a slice of the pie. The visualization loads tabular data from a CSV file using the `d3.csv` utility, stores it in React state via `useState` and `useEffect`, and renders each slice as an SVG path. The chart uses the `d3.pie` layout and `d3.arc` generator to compute the arc geometry, while React maps over the data to create the path elements with the color's hex value as the fill.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/54b731f63d364935b50aa9b0e58971a0?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}