{"version":"1.0","type":"rich","title":"Fork of Loading and Parsing CSV Data","description":"This example demonstrates the basics of loading and parsing CSV data, displaying the file size, row count, and column count of a dataset of CSS named colors. It uses D3 v5’s `d3.csv()` method, which returns a promise, to fetch the data from a GitHub gist. The code then formats the statistics using `d3.csvFormat()` and `data.columns`, injecting the results into an HTML `<pre>` element. Commented-out alternatives illustrate the same process using `fetch()` with async/await and `d3.csvParse()`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7192e0eb31fd4e8c88c8788efdd98db9?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}