{"version":"1.0","type":"rich","title":"Rendering Data with React","description":"This example visualizes CSS named colors by rendering each color as a horizontal stripe, creating a full-spectrum block of 148 color swatches. The code loads color data from a CSV file using D3’s `csv` utility, then uses React’s `useState` and `useEffect` hooks to fetch and store the data. React renders each row as a `div` with the background color set to the `RGB hex value` field, producing a stacked display of all named colors.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/816824e9c8d449f89edd73f826b0a44f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}