{"version":"1.0","type":"rich","title":"Rendering data with react (pie chart)","description":"This example renders a pie chart of CSS named colors, where each slice represents an individual color and is filled with its corresponding RGB hex value. The code loads data from a remote CSV file using D3’s `csv` utility, then computes the pie layout with `d3.pie` and generates the SVG paths using `d3.arc`. React manages the component state and renders the SVG elements, with an asynchronous effect to fetch the data and a loading fallback. The visualization demonstrates a clean integration of D3 for data processing and React for declarative rendering.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c44e0c3cff0844488850b20a149110b5?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}