{"version":"1.0","type":"rich","title":"Rendering Data with React","description":"This example displays all CSS named colors as horizontal stripes, loading color data from a CSV file using d3.csv. The React component uses the useState and useEffect hooks to fetch the data and render each row as a colored div element. The app shows a loading message until the data arrives, then maps over the array to create stacked color bands with heights of 5 pixels each. The implementation combines React's declarative rendering with D3's data loading utilities (d3.csv) and demonstrates the message export that reports file size, row count, and column count.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/0eb2b95998e240b28718421485ec46d5?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}