{"version":"1.0","type":"rich","title":"Render Data with React & D3","description":"This example demonstrates how React and D3 can work together to render a dataset of CSS named colors as a circular pie chart. The visualization shows each color as a wedge, filled with its corresponding RGB hex value. The code uses React hooks (`useState` and `useEffect`) to load the CSV data from a GitHub gist via `d3.csv`, while `d3.arc` calculates the SVG path geometry for each slice. The rendering is driven by React state, with SVG `<path>` elements generated directly in the component's JSX.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/a8a70f7df7494319a3d536990c510c55?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}