{"version":"1.0","type":"rich","title":"Loading and Parsing CSV Data","description":"This example demonstrates how to load and parse a remote CSV file using D3’s `d3.csv` method, which returns a promise that resolves into an array of objects. The code counts the dataset’s size in kilobytes via `d3.csvFormat`, along with its number of rows and columns, and displays these statistics as large text in a `pre` element. The data originates from a GitHub gist containing named CSS colors. A commented-out alternative shows parsing via the Fetch API and `d3.csvParse`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e624a83d752346eeb8804c23a68c8230?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}