{"version":"1.0","type":"rich","title":"Rendering data with React","description":"This example visualizes the 148 named CSS colors as horizontal stripes stacked into a block, with each stripe’s background color set directly from its RGB hex value. The visualization is built with React, which renders each color stripe as a styled `<div>` element, while D3’s `csv` method loads the color data from a GitHub gist. The app uses React’s `useState` and `useEffect` hooks to asynchronously fetch the data and display a \"Loading...\" message until it arrives.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/4d44f9d9db7d485a8c0371f98295a9d9?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}