{"version":"1.0","type":"rich","title":"Loading and Parsing CSV data","description":"This example demonstrates how to load and parse CSV data using two approaches: the `d3.csv` method for direct fetching and parsing, and a manual `fetch` with `d3.csvParse` for text-based parsing. It displays the data size in kilobytes, row count, and column count for a CSS named colors dataset sourced from a GitHub gist. The code uses D3 v5’s `d3.csv`, `d3.csvParse`, and `d3.csvFormat` APIs, alongside native `fetch` and async/await, rendering results into a styled `<pre>` element.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/1b5927e4ec4b4125a558026d21ff5af8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}