Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

loading and parsing csv data

Public visualization

Viewing a saved revision (read-only)

56025e9584b54b17bb76c2dbd4f25c70

loading and parsing csv data

0 stars1🌍 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