Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Loading and Parsing CSV Data

Public visualization

Viewing a saved revision (read-only)

7650b2ff3b924afeadd0ede5e330ce91

Fork of Loading and Parsing CSV Data

0 stars0🌍 Public
BbeauMarko
Last edited Jan 26, 2021
Created on Jan 26, 2021

This example demonstrates how to load and parse CSV data using D3 v6. It fetches a remote CSV file containing CSS named colors from a GitHub gist and displays basic statistics about the dataset, including its approximate file size in kilobytes and the number of rows and columns. The code uses `d3.csv()` to asynchronously retrieve and parse the data, then `d3.csvFormat()` to measure the raw string length, and writes the results into a `<pre>` element. The visualization is intentionally minimal, focusing on data loading and parsing rather than graphical representation.

AI-generated description

A program that loads and parses some csv data.