{"version":"1.0","type":"rich","title":"Loading data with React & D3","description":"This example demonstrates how to load and summarize a CSV dataset within a React application using D3. It fetches a remote file of CSS named colors and displays a brief textual report of its size in kilobytes, row count, and column count. The code uses React’s `useEffect` and `useState` hooks to trigger the asynchronous `d3.csv` request, then formats the result with `d3.csvFormat` and a custom `message` module. The output appears as large, plain text in a `<pre>` element while the data is loading.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f02d0c7a9d1f435fb9fe8d92aef477ec?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}