{"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 in a React framework. It displays a summary of the CSS Named Colors dataset, showing the file size in kilobytes, row count, and column count. The code uses the `d3.csv` method to fetch and parse the data asynchronously, then formats the results with `d3.csvFormat`. It also includes commented-out alternatives using the Fetch API with `async`/`await` and `d3.csvParse`. The visualization is text-based, updating a HTML `<pre>` element with the computed statistics.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c0cd2bd956bb4eeb997aeb18cba81cb6?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}