{"version":"1.0","type":"rich","title":"Loading Data in React","description":"This example demonstrates how to load external data in a React application using D3 utilities. The component fetches a CSV file of CSS named colors via the `d3.csv` method, storing the result in React state with the `useState` and `useEffect` hooks. While loading, it displays “Loading...”; once the data arrives, it renders a summary showing the file size in kilobytes, row count, and column count using `d3.csvFormat` to measure the data length. The visualization is minimal, presenting the metadata as text in a `<pre>` element styled with large font size, with no graphical chart.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/92738106424b4b5994a62b041a8947d5?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}