{"version":"1.0","type":"rich","title":"Rendering data with React","description":"This example renders the CSS named colors dataset as a vertical stack of colored horizontal stripes. It loads the data from a CSV file using D3's `csv` utility, stores it in React state with `useState`, and renders each row as a `<div>` element whose background color is set to the `'RGB hex value'`. The visualization demonstrates how React can manage asynchronous data loading and map data to SVG or HTML elements, using ReactDOM to mount the app.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/0162529e6380472abadab61cb9ba7de0?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}