{"version":"1.0","type":"rich","title":"Rendering Data with react","description":"This example renders the CSS named colors dataset as a vertical sequence of colored strips, one per color, using React hooks (`useState`, `useEffect`) to fetch and store the data. It loads the CSV via d3.csv from a remote gist, then maps each row to a div whose background color is set from the “RGB hex value” field. A loading message appears until the data arrives, and the app uses ReactDOM.render to mount the component into the DOM.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7a1cb0b9715244cd97771f3aca22bb9c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}