{"version":"1.0","type":"rich","title":"Fork of Loading Data with React & D3","description":"This example demonstrates how React manages asynchronous data loading for a D3 visualization. It fetches a CSV file of CSS named colors using the `csv` utility from D3 v5, then displays summary statistics about the dataset—size in kilobytes, row count, and column count—in a simple text format. The React `useState` hook tracks the loaded data, while `useEffect` triggers the D3 fetch operation once on component mount. The `message` helper formats the statistics using `d3.csvFormat` to calculate byte length.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/cbea72c188154f2883b3c483bdb65f84?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}