{"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.js, presenting the dataset’s size, row count, and column count as large text on the page. It fetches a CSV of named CSS colors from a GitHub gist via `d3.csv()`, then uses `d3.csvFormat()` to calculate the file size in kilobytes. The code also includes a commented alternative approach using the Fetch API with async/await and `d3.csvParse()` for manual parsing. The interface is minimal, rendering the three computed metrics inside a styled `<pre>` element.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/120f116d8f7f42d5887368526f0077d1?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}