{"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 v7, displaying the dataset’s row count, column count, and file size in a large preformatted text block. The code fetches a CSV of CSS named colors from a GitHub gist and uses `d3.csv` to asynchronously parse the data, then computes metrics with `data.length`, `data.columns`, and `d3.csvFormat`. A commented alternative shows the same process using `fetch` and `d3.csvParse`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e7f82e63f18b4578bbcfa916e4b09e33?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}