{"version":"1.0","type":"rich","title":"Loading and Parsing CSV Files using D3","description":"This example demonstrates how to load and parse a CSV file using D3, displaying the file’s size in kilobytes, row count, and column count. The code uses `d3.csv` to fetch a remote CSV of CSS named colors and returns an array of objects, then calculates metrics via `d3.csvFormat` and the resulting data’s properties. A commented alternative shows fetching the raw text with `fetch` and `response.text`, followed by `d3.csvParse`. The output appears in a large-font `<pre>` element.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/19b186461b864d1daa1b155f57c2b8ad?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}