{"version":"1.0","type":"rich","title":"Loading data with react and d3","description":"This example demonstrates how to load data from an external CSV file in a React application integrated with D3, displaying a summary of the loaded dataset. It shows a text-based message that updates from a loading state to a report of the data’s size in kilobytes, row count, and column count once the CSV is fetched using the `d3.csv` function. The React app uses the `useState` and `useEffect` hooks to manage asynchronous data loading, while `d3.csvFormat` calculates the byte size of the formatted data, and `d3.min` is not used here, but the data comes from a raw GitHub gist URL.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d33834b349934011aa2497496be568f1?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}