{"version":"1.0","type":"rich","title":"Loading Data with React and D3","description":"This example demonstrates how to load external data in a React application using D3 utilities, displaying dataset metrics such as file size, row count, and column count once the data arrives. The code uses React’s `useState` and `useEffect` hooks to manage the asynchronous loading of a CSV file from a GitHub gist via `d3.csv`, storing the parsed result in component state. While loading, a simple \"Loading...\" message appears, and after fetching, the `message` function formats the data summary into a large `<pre>` element. React 16.9 and D3 v7 are the primary libraries, with SVG reserved but not actively used for rendering.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9fccb4484e254062a81ce729f8de154d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}