{"version":"1.0","type":"rich","title":"Fork of Loading and Parsing CSV Data","description":"This example demonstrates how to load and parse CSV data using D3 v5 and native browser APIs. It fetches a dataset of CSS named colors from a GitHub gist and displays the file size in kilobytes, row count, and column count in a large text element. The primary implementation uses `d3.csv` with a promise-based `.then()` callback, while commented-out alternatives show the same task using `fetch`, `async/await`, and `d3.csvParse`. The code also includes a commented \"pyramid of doom\" example illustrating nested promise callbacks.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/4d5d0763bed440c88b15ba17b0a4f272?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}