{"version":"1.0","type":"rich","title":"Loading and Parsing CSV Data","description":"This example demonstrates the loading and parsing of CSV data using D3 v6, displaying the file size, row count, and column count in a large text element. The code fetches a CSV file from a GitHub gist containing named CSS colors and processes it with `d3.csv()`, which returns a promise. The results are formatted using `d3.csvFormat()` to calculate the data’s kilobyte size, while `data.length` and `data.columns.length` report the row and column totals. A commented section also shows an alternative approach using the Fetch API and `d3.csvParse()`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c2876854318648089461c75426dd09f3?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}