{"version":"1.0","type":"rich","title":"Loading and Parsing CSV Data","description":"This example demonstrates how to load and parse a CSV file using D3’s `d3.csv` method, displaying summary statistics about the dataset in a large `<pre>` element. It fetches a remote CSV of CSS named colors from a GitHub gist, then reports the file size in kilobytes, the number of rows, and the number of columns. The code uses `d3.csv` to fetch and parse the data, `d3.csvFormat` to measure the formatted output, and `d3.csv`’s built-in promise handling to access the parsed array and its columns property.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/5a9e80825c534684a7f6055e15de4918?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}