{"version":"1.0","type":"rich","title":"Loading and Parsing CSV Data","description":"This example demonstrates how to load and parse CSV data from a remote URL using D3 v5. It displays the file size in kilobytes, the number of rows, and the number of columns in a large text element. The code uses `d3.csv` to fetch and parse the data, then accesses the resulting array’s `length` and `columns` properties. It also relies on `d3.csvFormat` to compute the formatted size, with an alternative commented approach using `fetch`, `async/await`, and `d3.csvParse`. The data comes from a GitHub gist containing named colors.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/8e68cc25124f4b0d84cad2e867592807?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}