{"version":"1.0","type":"rich","title":"Loading and Parsing CSV Data","description":"This example demonstrates how to load and parse CSV data using D3.js, displaying summary statistics about the dataset. It fetches a CSV file containing CSS named colors from a GitHub gist and shows the file size in kilobytes, the number of rows, and the number of columns in a large preformatted text block. The primary implementation uses `d3.csv` with a promise, while commented-out alternatives illustrate using `fetch` with `async/await` and `d3.csvParse`. The example also includes a commented-out \"pyramid of doom\" pattern for comparison.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/75269cbdca654964afe52af65435f83a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}