{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates how to load and parse a CSV file of CSS named colors using React and D3. It fetches the data with `d3.csv` and displays summary statistics—file size in kilobytes, row count, and column count—in a large `<pre>` element. The code also includes commented-out alternatives using the browser’s `fetch` API with `async`/`await` and `d3.csvParse`, illustrating different approaches to asynchronous data loading in a React context. The visualization is minimal, focusing on the data-loading process rather than graphical output.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ebdf128cc35c4160bb3b1a875d2d341d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}