Fork of Loading and Parsing CSV Data
✓ Published1🌍 Public
This example displays the result of loading and parsing a CSV file containing CSS named colors. It reports the file size in kilobytes, the number of data rows, and the number of columns in a large text output. The code uses the `fetch` API to retrieve the remote CSV text and the `d3.csvParse` function from D3 v5 to parse it into a tabular data structure. The parsed data’s properties are then summarized and rendered within an HTML `<pre>` element.
AI-generated descriptionA program that loads and parses some CSV data: CSS Named Colors.
See also:
MIT Licensed