{"version":"1.0","type":"rich","title":"visualising css colour data with react and D3","description":"A visualization displays all CSS named colors as stacked horizontal strips, each colored by its RGB hex value. The data loads from a CSV file using `d3.csv`, while React’s `useState` and `useEffect` manage the asynchronous fetch. Each row renders as a fixed-width block with height 4 pixels, creating a full-spectrum bar. The code relies on React DOM and the D3 CSV parser, with both libraries included via CDN in the HTML file.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/a714e053a62b4c71b40e66baaf9fbc1b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}