{"version":"1.0","type":"rich","title":"Loading Data with React and D3","description":"This example demonstrates how to load and display CSS named color data using React and D3. It uses the D3 `csv` utility to fetch a remote CSV file and React’s `useState` and `useEffect` hooks to manage the asynchronous data loading. Once the data arrives, a custom `message` function formats summary statistics—file size, row count, and column count—using `d3.csvFormat` and `Math.round`. While loading, the app shows a simple \"loading . . .\" text message in a large `<pre>` element.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f243cfa8ce5344ebac6f20d610a69703?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}