{"version":"1.0","type":"rich","title":"Rendering Data With React","description":"This example shows a horizontal bar of CSS colors, one stripe per color, rendered as a 960-pixel-wide strip of 4-pixel-tall divs. It fetches a CSV of CSS color names and hex values from a GitHub gist using `d3.csv`, then maps each row to a React component. The React app uses `useEffect` and `useState` to load the data asynchronously, displaying a “Loading…” message until the data arrives, and `ReactDOM.render` mounts the component to the DOM.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6ec9d0c9885d4182b5780f8edd04c3a9?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}