{"version":"1.0","type":"rich","title":"Rendering Data with React","description":"This example uses React and D3 to render CSS named colors as horizontal bars. It loads a CSV file of color names and their RGB hex values via `d3.csv`. Using React’s `useState` and `useEffect`, the data is fetched and stored as state, initially showing a \"Loading...\" message. Once data arrives, the app maps each row to a `<div>` element with its background color set to the hex value, creating a stacked color strip. The visualization emphasizes React’s state-driven rendering with D3’s data loading utilities.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e19a1a5ed05d4ff59a78e852ec1103d4?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}