{"version":"1.0","type":"rich","title":"Loading data with React & D3","description":"This example demonstrates how to load a remote dataset of CSS named colors using D3’s `csv` utility, with React state managing the asynchronous fetch. The interface displays a plain-text summary reporting the file size in kilobytes, the number of rows, and the column count, refreshing once the data arrives. The code combines React’s `useState` and `useEffect` hooks, D3’s `csv` for parsing, and a custom `message` helper that formats the summary, all rendered as SVG-free `<pre>` output.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/519674f50e6e4c5c99183bdf6975c2a9?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}