{"version":"1.0","type":"rich","title":"Loading data with React & D3","description":"This example demonstrates how to load and display CSV data using React state management alongside D3 utilities. The application fetches a CSV file containing CSS named colors from a GitHub gist, then calculates and presents summary statistics including file size, row count, and column count. The code uses React’s `useState` and `useEffect` hooks to manage the asynchronous data loading via `d3.csv`, while the `d3.csvFormat` method in `message.js` computes the data’s size in kilobytes. The rendered output appears as large monospace text.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c478ead541e7464790e8cb0b97e857db?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}