{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates how to load and display dataset metadata using React and D3. The code fetches a CSV file of CSS named colors via D3’s `csv` utility, stores the parsed data in React state through the `useState` and `useEffect` hooks, and renders a summary using the `message` function. The summary reports the formatted file size in kilobytes, row count, and column count. D3’s `csvFormat` calculates the data size, while React manages the asynchronous loading state, showing “Loading...” until the data arrives.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/941d8b806d42462eb2f0b9859c2db6b4?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}