{"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 and the Fetch API. It fetches a list of CSS named colors from a GitHub Gist and displays a summary of that dataset: the file size in kilobytes, the number of rows, and the number of columns. The code highlights two approaches: using `d3.csv` to fetch and parse directly, and an alternative method that uses `fetch` with `async`/`await` alongside `d3.csvParse`. A commented-out section shows an older \"pyramid of doom\" pattern. The results are rendered as large text in an HTML `<pre>` element, with a font size set via CSS.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ad476ef757354a2883cdb7da180cc000?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}