{"version":"1.0","type":"rich","title":"Rendering Data with React","description":"This example renders the full set of CSS named colors as a vertical stack of horizontal bars, each colored according to its hexadecimal value. The visualization uses React 18 with functional components and hooks (`useState`, `useEffect`) to manage asynchronous data loading, while D3’s `csv` utility fetches the color dataset from a GitHub gist. Once loaded, React maps each row to a styled `div`, setting the background color from the `Hex rgb` field. The visualization demonstrates how D3 can handle data acquisition and parsing while React manages the DOM rendering.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/acb88b48c15246f3a5ad634c016955e4?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}