{"version":"1.0","type":"rich","title":"Fork of Rendering data with react and d3 Xizhi","description":"This example renders the CSS named colors dataset as a pie chart using React and D3 v7. The visualization loads CSV data via `d3.csv` and displays each color as a slice with its fill set to the `RGB hex value`. React manages state and renders SVG paths, while D3’s `pie` and `arc` generators compute the angles and geometry. A text overlay reports the data size in kilobytes, row count, and column count using `d3.csvFormat`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/971c67fe083d488f877b8010ccf3d152?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}