Skip to main content
100%

Loading a parsing CSV Data.

✓ Published0🌍 Public
AAlexander Dorling
Last edited May 11, 2021
Created on May 11, 2021
Forked from HTML Starter

This example demonstrates how to load and parse CSV data using D3 v6, displaying file size, row count, and column count in large text. The code fetches a CSS named colors dataset from a GitHub Gist URL using d3.csv, which parses the remote CSV file into an array of objects. It then formats the data with d3.csvFormat, calculates its size in kilobytes, and accesses row and column counts through the parsed data array and its columns property. The results are written into the DOM via a pre element.

AI-generated description

program loads and parses csv data

MIT Licensed

Similar vizzes