{"version":"1.0","type":"rich","title":"Loading Data with React / Pie Chart","description":"This example demonstrates loading data asynchronously in a React application using D3’s `csv` function, which fetches a remote dataset of CSS named colors and their RGB hex values. Once loaded, the data is displayed as a series of horizontal color swatches stacked vertically, with each row’s background color set to its corresponding hex value from the dataset. The app manages loading state with React’s `useState` and `useEffect` hooks, showing a simple “Loading…” message until the data arrives, and renders the final result as a block of SVG-ready DOM elements rather than an actual pie chart.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6c142357ee704557ae725812bd583655?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}