{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates loading and summarizing a CSV dataset within a React application that integrates D3.js. The interface displays a simple text report showing the file size in kilobytes, the number of rows, and the number of columns. The code uses React's `useState` and `useEffect` hooks to trigger a one-time asynchronous fetch of the data via D3's `csv` function, which populates the state. The `message` module then formats the summary using D3's `csvFormat` method to calculate the byte length.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/329fa02763e24ecb89230db740bda89a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}