{"version":"1.0","type":"rich","title":"CSS Named Colors - Rendering Data with React","description":"This example displays all 148 CSS named colors as stacked horizontal bars, loading the data from a GitHub-hosted CSV using d3.csv. The React application stores the parsed data in state with useState and useEffect, then maps each row to a div whose backgroundColor is set to the RGB hex value from the CSV. Each bar is rendered at a fixed width of 960px and 3px height, creating a continuous color spectrum. The visualization demonstrates React’s declarative rendering combined with D3’s data-loading utilities, showing how CSV data directly drives DOM styling.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/35f06d27250142eca74bb3d49cf3108b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}