{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates how to load a CSV dataset and display its summary statistics as text, using React state to track the data as it loads asynchronously. The `d3.csv` function fetches the CSS named colors dataset from a GitHub gist, and a custom `message` utility calculates and formats the data’s size in kilobytes, row count, and column count. The app renders either a loading message or the summary using React’s `useState` and `useEffect` hooks, with the output displayed in a large monospace `<pre>` element rendered as SVG.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/70e6d2e5833740e6be29fe82b1c82f07?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}