Skip to main content
100%

loading and parsing csv data

✓ Published1🌍 Public
Nnexus1058
Last edited Jan 25, 2021
Created on Jan 18, 2021
Forked from HTML Starter

This example demonstrates the process of loading and parsing a CSV file from a remote URL using D3.js version 5. It displays basic metadata about the fetched dataset: the file size in kilobytes, the number of rows, and the number of columns. The code uses `d3.csv()` to retrieve and parse the data, then `d3.csvFormat()` to calculate its length. The results are rendered as large text inside a `<pre>` element, with the source being a gist-hosted CSV containing CSS named colors.

AI-generated description

A program that loads and parses some csv data

MIT Licensed

Similar vizzes