{"version":"1.0","type":"rich","title":"Loading Data with React and D3","description":"This example shows a pie chart of CSS named colors, with each slice filled using the color’s RGB hex value from a CSV dataset loaded via D3’s `csv` utility. React’s `useState` and `useEffect` manage the asynchronous data loading, displaying a “Loading…“ message until the data arrives. The SVG pie chart is generated with D3’s `pie` and `arc` functions, and each segment is rendered as an SVG `path` element with a fill color taken directly from the dataset’s `RGB hex value` column.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/42a1a77f696f4335b40f4ede9a9b8cc6?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}