{"version":"1.0","type":"rich","title":"Load data using react and d3","description":"This example demonstrates loading a CSS named-color dataset from a remote CSV URL and rendering each row as a colored horizontal strip. The React component uses `useState` and `useEffect` with `d3.csv` to asynchronously fetch the data, displaying a loading message until it arrives. Once loaded, the D3-formatted data is summarized via the custom `message` utility, which calculates file size, row count, and column count. The visualization maps RGB hex values directly to horizontal div backgrounds, creating a full-width color spectrum while also logging summary statistics to the console.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/8e55f9af0be74468a0f6f4f3dfff86f8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}