{"version":"1.0","type":"rich","title":"Rendering Data with React Part II","description":"This example shows a pie chart of all 148 named CSS colors, with each slice filled by its corresponding hex value. Built with React and D3 v6, it fetches color data from a CSV file using the `d3.csv` function. The chart is rendered as an SVG, where React manages the state and component lifecycle with `useState` and `useEffect`, while D3's `pie` and `arc` functions compute the slice geometries. A loading message displays until the asynchronous data fetch completes.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/3b1283c0dae8442597eaf1b61d830bd8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}