{"version":"1.0","type":"rich","title":"Loading and Parsing CSV Data","description":"This example demonstrates how to load and parse CSV data in a web page. It fetches a dataset of CSS named colors from a GitHub gist and displays the file size in kilobytes, the number of rows, and the number of columns in a large text element. The code uses the `d3.csv` method to fetch and parse the data, and also includes commented-out alternatives using the Fetch API with `async`/`await` and `d3.csvParse`. A third commented example illustrates the nested callback \"pyramid of doom\" pattern.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/27b34de1aa524a20a7ca68bf20304602?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}