{"version":"1.0","type":"rich","title":"Redndering data with React","description":"This example demonstrates how to render a dataset of CSS named colors as horizontal color swatches using React’s state management. The app loads CSV data from a GitHub gist via `d3.csv`, then uses React’s `useState` and `useEffect` hooks to fetch and store the data asynchronously. Once loaded, each row’s `Hex rgb` value is mapped to a div element with a corresponding background color, producing a stacked visual list. The interface also displays a “Loading...” message while the data is pending.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/8b46787d96494ddeb52f8f05595c73f2?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}