{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates a data-loading workflow where D3’s `csv` function fetches a dataset of CSS named colors and their hex values from a GitHub gist. The React app uses `useState` and `useEffect` to manage the asynchronous data fetch, displaying a “Loading...” message until the data arrives. Once loaded, each row renders as a thin horizontal rectangle with its background color set to the corresponding `RGB hex value` field. The visualization uses React’s `map` method to create stacked color swatches, showing a flat, ordered list of all colors in the CSV.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/5163bb1e2efe4b0092fd8b10e86808ae?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}