Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parsing CSV Data

Public visualization

Loading and Parsing CSV Data

0 stars0🌍 Public
DDanielMa
Last edited Oct 19, 2021
Created on Oct 11, 2021
Forked from HTML Starter

This example demonstrates how to load and parse external CSV data, displaying the file size, row count, and column count of the dataset. Using D3 v7, it fetches a CSV file containing CSS named colors via `d3.csv`, which parses the data into an array of objects. The resulting metrics are formatted and rendered as large text in an HTML page. Alternative implementations using `fetch` with `d3.csvParse` are shown in commented code, highlighting different approaches to the same task.

AI-generated description

A program that loads and parses some CSV data.

Comments

Sign in to join the discussion.

MIT Licensed