{"version":"1.0","type":"rich","title":"Loading Data with React and D3","description":"This example demonstrates loading CSV data in a React component with D3, displaying the dataset’s size in kilobytes, row count, and column count as text. The app uses React’s `useState` and `useEffect` hooks to fetch the data asynchronously via `d3.csv` from a GitHub gist. Once loaded, the `message` function formats the summary using `d3.csvFormat` to calculate byte length. The visualization renders plain SVG-less text inside a `<pre>` element, showing a loading state until the data arrives.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/37ab96a5a2694b94a9401f7ed0bfd55b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}