{"version":"1.0","type":"rich","title":"loading and parsing csv data/d3/fetch","description":"This example demonstrates how to load and parse a remote CSV file using D3 v7 and the Fetch API. It fetches a dataset of CSS named colors from a GitHub gist and uses `d3.csv` to parse the data, then displays summary statistics including the file size in kilobytes, the number of rows, and the number of columns in a large, monospaced preformatted text element. The code also includes a commented-out alternative using `fetch` with `async` and `await` and `d3.csvParse`, showing a manual two-step approach.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/165732598fc34be796016a778b97127b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}