{"version":"1.0","type":"rich","title":"loading data with D3","description":"This example displays a dataset of color values as horizontal stripes, each rendered as a colored bar that fills the width of the page. The visualization uses React hooks to manage asynchronous data loading with `useState` and `useEffect`, while D3’s `csv` function fetches the data from a GitHub Gist. Once the data arrives, the component maps each row to a styled `div` element, using the `RGB hex value` column as the background color. The page shows a simple \"Loading...\" message until the data is ready.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/af7f339b66f44844807ad47f14c35132?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}