{"version":"1.0","type":"rich","title":"Rendering Data with React","description":"This example visualizes CSS named colors as a vertical stack of colored horizontal bands, with each band’s height fixed at 4 pixels and width at 960 pixels. The data is loaded from a CSV file using D3’s `csv` utility, while React manages the asynchronous state with hooks like `useState` and `useEffect`. The rendering itself is pure React, mapping each row to a `div` whose background color is set from the CSV’s “RGB hex value” field. A loading message appears until the data arrives.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ea3a22e98ac54a1da2a1b5b4e3b69479?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}