{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates how to load external CSV data into a React application using D3 utilities, displaying a simple status message that changes from “loading” to “loaded” once the data arrives. The code uses React’s `useState` hook to track the data state and D3’s `csv` function to fetch and parse the data from a local `data.csv` file. It also calculates the file size in kilobytes using `d3.csvFormat` and reports the row and column counts in a console message. The interface is minimal, showing only the loading state text.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b1deaaf05c9343eda4677c20a0bc2e59?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}