{"version":"1.0","type":"rich","title":"Loading Data with React D3","description":"This example demonstrates how to load and summarize a dataset within a React application using D3 utilities. The interface displays a text summary showing the dataset’s size in kilobytes, row count, and column count, initially presenting “loading…” before the data arrives. The code uses D3’s `csv` function to fetch a CSV file from a GitHub gist containing CSS named colors, then processes the result through D3’s `csvFormat` function. React’s `useState` and `useEffect` hooks manage the asynchronous data loading, while the custom `message` function generates the displayed statistics.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/dab34c1864c141bf9c48a2d876bfad6e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}