{"version":"1.0","type":"rich","title":"Loading Csv files","description":"This example demonstrates the basic mechanics of loading and parsing a CSV file using D3. It shows a count of the file's size in kilobytes, the number of rows, and the number of columns displayed prominently on the page. The code uses `d3.csv` to fetch data from a GitHub gist containing CSS named colors, then calculates the formatted string length with `d3.csvFormat`. It also includes a commented-out alternative approach using the Fetch API with `async`/`await` and `d3.csvParse`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/3e8729c1974e44cd86288305282ca3d5?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}