Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
11godfrey
Last edited Mar 5, 2023
Created on Mar 4, 2023
Forked from HTML Starter

This example demonstrates loading a remote CSV file of CSS named colors and displaying basic file statistics. A large preformatted text element shows the file size in kilobytes, the number of rows, and the number of columns. The code uses the d3.csv method from D3 v7 to fetch and parse the data asynchronously, then accesses the parsed array and its columns property. The data comes from a GitHub gist URL, and the results are written to the page via textContent.

AI-generated description

A program that loads and parses some CSV data.

MIT Licensed

Similar vizzes