Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
CChira Cezara Victoria
Last edited Oct 2, 2021
Created on Sep 30, 2021
Forked from HTML Starter

This example demonstrates how to load and parse a remote CSV file using D3 v7. The page displays a single message summarizing the dataset’s dimensions: the number of columns, the approximate file size in kilobytes, and the number of rows. It uses `d3.csv` to fetch and asynchronously parse the CSV, then `d3.csvFormat` to calculate the data’s byte length. The data comes from a GitHub-hosted CSS Colors CSV file, and the summary is rendered into a `<pre>` element.

AI-generated description

A program that loads and parses some CSV data

MIT Licensed

Similar vizzes