{"version":"1.0","type":"rich","title":"Rendering Data with React","description":"This example renders the 148 CSS named colors from a CSV file as a vertical stack of horizontal color swatches. The React component uses the `useState` and `useEffect` hooks with D3’s `csv` method to load the data asynchronously, showing a “Loading…” message until the fetch completes. Once loaded, the app maps each data row to a `<div>` whose background color is set to the hex value from the CSV, with dimensions of 960 by 4 pixels. The visualization demonstrates a simple, declarative approach to binding data to SVG-like DOM elements using React’s rendering model.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ced80e355b6d4237825a1468b0ccff76?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}