{"version":"1.0","type":"rich","title":"Rendering data with React","description":"This example shows CSS named colors as a horizontal stacked bar chart, where each color is a thin rectangular strip. Using React and D3, the app fetches color data from a CSV file via D3’s `csv` utility, then maps each row to a colored `<div>` with a fixed width and height. The visualization relies on React’s `useState` and `useEffect` hooks for asynchronous data loading and rendering, with a “Loading…” message displayed until the data arrives.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d8bcd742a9114679a61f12084823cecd?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}