Loading and Parsing CSV data
✓ Published0🌍 Public
This example demonstrates loading and parsing a CSV file from a remote URL, then displaying basic metadata about the dataset. It fetches the raw CSV text using the Fetch API and parses it with d3.csvParse from d3.v7, after which it reports the file size in kilobytes, the number of rows, and the number of columns. The data source is a gist containing CSS named colors, and the output appears in a large-font HTML pre element.
AI-generated descriptionA program that loads and parses some CSV data.
MIT Licensed