{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates how to combine React and D3 to load and summarize a CSV dataset, displaying file size, row count, and column count. The app uses React’s `useState` and `useEffect` hooks to fetch data asynchronously via `d3.csv` from a GitHub Gist, then renders the summary using a custom `message` function that leverages `csvFormat`. While loading, it shows a \"Loading...\" placeholder. The code relies on D3 v7 and React 16.9, with the browser rendering the output in a large `<pre>` element.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/3b50f7576ee14e6e947ecfcc37d4876e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}