🌍 Public
Viewing a saved revision (read-only)
76e62b2383ae4724bdf61d65ee3ce17f
Fork of Loading and Parsing CSV Data
This example demonstrates loading and parsing CSV data from a remote source. The page displays the dataset's size in kilobytes, the number of rows, and the number of columns in large text. The code uses `fetch` to retrieve the text and then the `d3.csvParse` method to parse the CSV string into a data object. It also shows alternative methods involving `d3.csv` and `d3.csvFormat` for data handling and formatting, with the data sourced from a GitHub Gist of CSS named colors.
AI-generated descriptionA program that loads and parses some CSV data: CSS Named Colors.
See also: