{"version":"1.0","type":"rich","title":"Rendering data with react","description":"This example renders a striped color chart from the CSS Named Colors dataset, which is loaded via D3’s `csv` utility. Each row of the dataset becomes a 960-pixel-wide, 4-pixel-tall `div`, colored by the row’s `RGB hex value` and stacked vertically. Built with React 16.9 and D3 v7, the page uses React’s `useState` and `useEffect` hooks to fetch and store the data, displaying a brief “Loading…” message until it arrives. The resulting visualization shows all named colors as a continuous horizontal spectrum.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c340b7998cd7448d99e017b7a9ac95ef?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}