{"version":"1.0","type":"rich","title":"Loading data with React","description":"This example demonstrates how to load and summarize a CSV dataset using D3 within a React application. It displays the file size in kilobytes, row count, and column count in a large `<pre>` element. The React component uses the `useState` and `useEffect` hooks alongside `d3.csv` to fetch and parse the data from a GitHub gist. The `message` helper function calculates the summary using `d3.csvFormat` to determine the formatted data length.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b7703de24b4a467884121665ca38c699?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}