{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example shows how React state and D3 utilities work together to load and summarize a CSV dataset. It displays the file size in kilobytes, the number of rows, and the number of columns inside a large <pre> element. The code uses React’s `useState` and `useEffect` hooks to fetch the CSV from a GitHub gist via `d3.csv`, then formats the result with `d3.csvFormat` and passes it to a custom message function. The visualization is minimal, focusing on data-loading mechanics rather than graphical output.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d0d88a9477fa4de4a23e209dea636670?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}