{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"A smiling face is rendered as a multi-colored donut chart using React and D3, with each slice filled by a distinct CSS color from a remote CSV dataset. The example demonstrates data loading with `d3.csv` inside a React `useEffect` hook, showing a loading state until the data arrives. The visualization computes an arc path for each CSV row using `d3.arc` and `d3.pie`, positioning the chart via an SVG `<g>` transform. React manages the component state and renders the SVG elements.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/8fab0bade2384f69bd40e030e4b25faa?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}