{"version":"1.0","type":"rich","title":"Loading and Parsing CSV data","description":"This example demonstrates how to load and parse a CSV file using D3.js v6, displaying the file size, row count, and column count of a CSS named colors dataset. The code fetches the CSV from a GitHub gist via `d3.csv`, then reports the parsed results using `d3.csvFormat` and the resulting array’s `length` and `columns` properties. It also includes commented-out alternatives using the Fetch API with `async`/`await` and `d3.csvParse`, showing multiple approaches to the same task. The output appears as large text in a `<pre>` element.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/1e2d7765000a403ca536f6130ab83aae?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}