{"version":"1.0","type":"rich","title":"Loading Data With React & D3","description":"This example demonstrates how to integrate D3 data-loading utilities with React state management. The App component uses React’s `useState` and `useEffect` hooks to asynchronously fetch a CSV file of 1880 baby names via `d3.csv`, then stores the parsed result in component state. While the data loads, a “loading…” message appears; once loaded, the `message` utility computes and displays the file size in kilobytes using `d3.csvFormat`. The visualization itself is minimal, focusing on the data-fetching pattern rather than graphical output.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/dcbfe3c622a74c5b92713d951b2f2232?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}