{"version":"1.0","type":"rich","title":"Fork of Loading and Parsing CSV Data","description":"This example demonstrates how to load and parse CSV data using D3 v5 and React. It displays a summary of the CSS Named Colors dataset, showing the file size in kilobytes, row count, and column count. The primary implementation uses the `d3.csv` function with a Promise-based `.then()` callback. An alternative approach using `fetch`, `async`/`await`, and `d3.csvParse` is also provided in commented-out code. The output appears in a large `<pre>` element, and the example contrasts modern data-loading patterns with older callback-based methods.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ca395dea886f4cb08967ff471f6cf66d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}