{"version":"1.0","type":"rich","title":"Loading Data React","description":"This example shows the loading state of a React app as it fetches a CSV file of CSS named colors from a GitHub gist. The interface displays a formatted text summary with the file size in kilobytes, row count, and column count once the data arrives, preceded by a “Loading…” message. The code uses React hooks `useState`, `useEffect`, and `useCallback` to manage the asynchronous `d3.csv` fetch, while a separate `Message` component computes the statistics using `d3.csvFormat`. Data is rendered as HTML text within a `<pre>` tag.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c66e2ee5160741fb97c367721514e8d6?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}