{"version":"1.0","type":"rich","title":"Loading and Parsing CSV Data","description":"This example demonstrates the basic workflow of loading and parsing CSV data with D3. It fetches a CSV file containing CSS named colors from a GitHub gist and displays summary statistics—file size in kilobytes, row count, and column count—in a large text element. The code uses `d3.csv` and the Promise-based `.then()` method to handle asynchronous loading. An alternative commented-out section shows the same process using the Fetch API with `async`/`await` and `d3.csvParse`. The final output presents three lines of calculated metrics derived from the parsed dataset.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/a9bc9d8b417741d4af705e3af9ccdc56?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}