{"version":"1.0","type":"rich","title":"Rendering data with React","description":"The visualization displays 148 CSS named colors as a vertical stack of horizontal bars, each colored with its corresponding hex value. Built with React, the app uses the `useState` and `useEffect` hooks to fetch a CSV file from a gist via `d3.csv`, then maps each row to a styled `<div>` element. React’s `backgroundColor` property applies the color, while the fixed width and height create the stacked band effect. The example demonstrates how D3’s data-loading API integrates with React’s component-based rendering model.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7296f301d2504ac28d3c65b2de715fe3?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}