Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Loading and Parsing CSV Data

Public visualization

Fork of Loading and Parsing CSV Data

0 stars0🌍 Public
AAdrian Belen
Last edited Oct 3, 2021
Created on Oct 3, 2021

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 description

Comments

Sign in to join the discussion.

MIT Licensed