{"version":"1.0","type":"rich","title":"Rendering Data with React & D3 - CSS colors","description":"This example renders the full set of CSS named colors as a circular pie chart, with each color occupying an equal slice. The visualization loads a CSV file from a GitHub Gist using D3’s `csv` utility, then employs D3’s `pie` layout and `arc` path generator to compute the slice geometry. React handles the SVG rendering, mapping each data row to a `<path>` element whose `fill` attribute is set from the `RGB hex value` column. The code demonstrates a clean integration of D3’s data-processing and layout functions with React’s component-based UI.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/947c937468624fcda186e9fc33b88a20?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}