{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates how to load external data in a React application using D3 utilities, displaying file size, row count, and column count for a CSV of named CSS colors. The app fetches data from a GitHub gist via `d3.csv`, stores it in React state with the `useState` hook, and updates the view once loading completes. React 16.9 and D3 v5 are loaded from CDNs, with ReactDOM rendering a single `<pre>` element that shows “loading” until the asynchronous CSV request resolves and the message function formats the dataset’s metrics.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/46c4c48694014bb8a758c49794e74307?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}