{"version":"1.0","type":"rich","title":"Rendering data with React","description":"A React app renders a horizontal stacked bar chart of CSS named colors, loading the data from a CSV of color names and hex values. The interface shows a “Loading” state before the data arrives, then displays each color as a thin colored stripe using inline styles, with the total width fixed at 960 pixels. The code uses React’s `useState` and `useEffect` hooks to fetch data with `d3.csv`, and renders the result as a list of `div` elements, avoiding SVG or canvas.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/8f32b69fc3364d70917c9590e19becbf?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}