{"version":"1.0","type":"rich","title":"Fork of Loading Data with React & D3","description":"This example demonstrates a React component that asynchronously loads a CSV file of CSS named colors via D3’s `csv` utility, then displays a summary of the dataset using React’s `useState` and `useEffect` hooks. While the data is fetching, the interface shows a “Loading...” message. Once loaded, it renders a text summary reporting the file size in kilobytes, row count, and column count. The code uses `d3.csvFormat` to calculate the byte size and relies on React’s state management to update the view.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/1af6d706d2324aecb48f253bc49f0599?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}