{"version":"1.0","type":"rich","title":"Loading Data in React & D3","description":"This example demonstrates how to load and display a CSV dataset within a React application using D3 utilities. The page initially shows a loading message, then presents the data file’s size in kilobytes, row count, and column count as large text. The code uses React’s `useState` and `useEffect` hooks to fetch the CSV via `d3.csv` and manage the asynchronous state update. The data comes from a GitHub-hosted CSS named colors file, and the output is rendered as SVG text within a `<pre>` element.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c4128f9f9d854d9e83a8779ea163abf0?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}