{"version":"1.0","type":"rich","title":"Loading and Parsing CSV Data","description":"This example demonstrates how to load and parse a CSV file containing CSS named colors using D3’s `d3.csv` utility. It displays the dataset’s basic metrics—row count, column count, and file size in kilobytes—in a large, centered `<pre>` element. The code fetches the remote CSV from a GitHub gist, parses it into an array of objects, and uses D3’s `csvFormat` function to calculate the file size. The implementation relies on D3 v6’s async promise-based API, with a commented alternative showing an equivalent `fetch` and `d3.csvParse` approach.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f740efb515f944529b7d8584ddbc1461?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}