{"version":"1.0","type":"rich","title":"Rendering Data with React","description":"This example renders a vertical stacked bar chart of CSS named colors, with each row displaying a color’s hex value as a background swatch. The code loads a CSV of color data from a GitHub gist using D3’s `csv` utility and manages the asynchronous data fetching with React hooks (`useState`, `useEffect`). Once loaded, the data is mapped to React `<div>` elements, each styled with an inline `backgroundColor` property and fixed dimensions. The visualization demonstrates a simple integration of D3 for data loading and React for declarative DOM rendering.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/1119de060ce94bceab2927152018227f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}