{"version":"1.0","type":"rich","title":"Rendering data with React","description":"This example demonstrates rendering a dataset of CSS named colors as a vertical sequence of colored rectangles, each with a fixed width and height. The visualization uses React’s `useState` and `useEffect` hooks to asynchronously load a CSV file via `d3.csv()`, then maps the rows into React `<div>` elements whose `backgroundColor` styles are set from the `RGB hex value` column. The code relies on React DOM rendering and D3 v6 for data fetching, presenting a simple, static strip of color swatches without interaction or animation.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/5838d66e28b945cdba29124eaba60e03?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}