{"version":"1.0","type":"rich","title":"Rendering Data with React and D3","description":"This example shows a full-screen SVG pie chart of all CSS named colors, with each slice colored by its corresponding hex value from a CSV dataset. React manages the asynchronous data loading with `useState` and `useEffect`, while D3’s `csv`, `pie`, and `arc` functions calculate the slice angles and path geometry. The chart centers on a 960×500 viewport, rendering each pie segment as a React `<path>` element whose fill is set directly from the data’s RGB hex field.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b6b9aedc3f504402aed30b3199f2528f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}