{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates how to load and display data in a React application using D3. It fetches a CSV file containing CSS named colors from a GitHub gist, then shows a summary message with the file size in kilobytes, row count, and column count. The code uses React hooks (`useState`, `useEffect`) to manage asynchronous data loading, and D3’s `csv` method to parse the remote file. The final visualization is a simple text output rendered via a `<pre>` element, with D3’s `csvFormat` used to compute the data size.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b30fb88d9d914ca69eaffde89d64c18c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}