{"version":"1.0","type":"rich","title":"Loading Data with React and D3","description":"This example demonstrates how to asynchronously load a CSV file from a remote URL using D3’s `csv` method within a React component’s `useEffect` hook. While the data is being fetched, the interface displays a \"Loading...\" message; once loaded, a summary of the dataset—its size in kilobytes, column count, and row count—is rendered as plain text using the `d3.csvFormat` method. The React state hook `useState` stores the fetched data, and the `message` utility formats the output into a readable string.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/49b11e65108d4091909d6b723d42fb38?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}