{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates how to load external data in a React application using D3 utilities, displaying the dataset’s size in kilobytes, row count, and column count. The component uses `useState` and `useEffect` to fetch a CSV of CSS named colors via `d3.csv`, then stores the parsed result in React state. While the data loads, the interface shows “Loading…”; once fetched, a custom `message` function formats the summary using `d3.csvFormat` to compute the file size. The app renders with ReactDOM, leveraging D3 v7 and React 16.9.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9695ade3ccfb40ea89bee5bd9dd4fa5e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}