{"version":"1.0","type":"rich","title":"Loading CSV","description":"This example demonstrates the basic mechanics of loading and parsing a CSV file with D3.js, displaying the resulting dataset’s size, row count, and column count as large text. The code uses `d3.csv` to fetch the data from a GitHub gist containing CSS named colors, then formats the metrics with `d3.csvFormat`. It also includes commented-out alternative code using the Fetch API and `d3.csvParse` with `async`/`await`, showing an equivalent approach for handling the same data.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/cb7360c3ce174dfeb623da58c1edee8a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}