{"version":"1.0","type":"rich","title":"Fork of Loading Data with React & D3","description":"This example demonstrates a minimal React application that loads a dataset of CSS named colors from a remote CSV file and displays its key statistics. The code uses React hooks, specifically `useState` and `useEffect`, to manage asynchronous data loading, while the `csv` function from D3 v5 fetches and parses the file. After loading, a text summary shows the file size in kilobytes, row count, and column count, using `d3.csvFormat` to compute the byte length. During the fetch, a simple \"Loading...\" placeholder is rendered, highlighting the interplay between React state and D3's data utilities.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/4addcc87408e454c8a386291c22386c1?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}