{"version":"1.0","type":"rich","title":"Rendering Data with React","description":"This example demonstrates how React can render data loaded with D3 utilities. It fetches a CSV file containing named CSS colors and their RGB hex values using `d3.csv`, then displays each color as a horizontal strip. The React component uses the `useState` and `useEffect` hooks to manage the asynchronous data loading, showing a \"Loading...\" message until the data arrives. Once loaded, the app maps over the data array to generate styled `div` elements, with each row’s background color set from the CSV’s `RGB hex value` column.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d3face0915c245b1831a77f602bf63bb?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}