{"version":"1.0","type":"rich","title":"Fork of Loading Data with React & D3","description":"This example visualizes CSS named colors as a horizontal stacked bar chart, where each row represents a color by its RGB hex value. It loads color data from a CSV file using D3’s `csv` utility, then manages the asynchronous data fetching with React’s `useState` and `useEffect` hooks. While the data loads, a large “Loading...” message appears. The rendering maps each color entry to a div element with a fixed width and height, using the hex value as the background color. The code relies on React 16.9, D3 v5, and the `ReactDOM.render` method.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c2b2c7e5e970469b92e59a39d8d6b8a8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}