{"version":"1.0","type":"rich","title":"Load data using React and D3","description":"This example demonstrates how to load external CSV data within a React component using D3 utilities. It displays file size, row count, and column count for a dataset of CSS named colors fetched from a GitHub gist. The code uses React’s `useState` and `useEffect` hooks to manage asynchronous data loading, while `d3.csv` retrieves the data and `d3.csvFormat` measures its length. A loading message appears until the dataset is ready.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/4a1aff7b73f44bf3b70928378576f9fb?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}