{"version":"1.0","type":"rich","title":"Use D3 Arcs to make pie chart of colors","description":"This example creates a pie chart of colors from a CSV file, with each slice representing a color from the dataset. It uses React with D3’s `arc` and `pie` APIs to generate SVG paths for the pie slices. The data is loaded asynchronously via `d3.csv`, and each slice’s fill is set to the RGB hex value from the CSV. The chart is centered in a 960-by-500 viewport, with arcs computed using `Math.PI` angles based on the data length.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c53e0dc69d6949d8bc41f490664a2aa5?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}