Fork of Loading and Parsing CSV Data
✓ Published0🌍 Public
This example displays a message summarizing a CSV dataset of CSS named colors. It reports the file size, row count, and column count in a large text format. The code uses the D3.js library (v5) to fetch the remote CSV with `d3.csv`, which returns a promise, and then formats the data with `d3.csvFormat` to calculate its size. The resulting information is injected into the DOM via JavaScript’s `document.getElementById`.
AI-generated descriptionA program that loads and parses some CSV data: CSS Named Colors.
See also:
MIT Licensed