{"version":"1.0","type":"rich","title":"Loading Data w/ React + D3","description":"This example demonstrates how to load and summarize a CSV dataset within a React component using D3’s `csv` method. It fetches a list of CSS named colors from a GitHub gist and displays the file size, row count, and column count in a large `<pre>` element. The implementation uses React hooks (`useState` and `useEffect`) to manage loading state asynchronously, while D3’s `csvFormat` calculates the data size in kilobytes. A temporary “Loading…” message appears until the data arrives, and the final output is rendered with plain text styling.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/1b6b191808ed49719246658bbb5be1ab?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}