{"version":"1.0","type":"rich","title":"Loading Data in React","description":"This example demonstrates how to load external CSV data and manage it with React state. The app fetches a dataset of CSS named colors from a GitHub gist using D3’s `d3.csv` utility inside a `useEffect` hook, then displays summary statistics—file size in kilobytes, row count, and column count—in a large `<pre>` element. React’s `useState` holds the parsed data while the component renders a “Loading…” message until the data arrives. The visualization combines D3 v7’s data-loading capabilities with React 16.9’s hooks for asynchronous state management, rendering text output via SVG-free HTML.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/994c90ff796948b59af92a0e5d92fdf9?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}