Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parsing CSV Data

Public visualization

Viewing a saved revision (read-only)

86da42d80d4c46258f85e9a234d398f1

Loading and Parsing CSV Data

0 stars0🌍 Public
LLisa Wagner
Last edited Aug 23, 2021
Created on Aug 23, 2021
Forked from HTML Starter

This example demonstrates how to load and parse CSV data by fetching a remote file and displaying basic statistics about it. The page shows the file size in kilobytes, the total number of rows, and the number of columns. It uses the D3.js library (v7) with the `d3.csv` method to retrieve the data from a GitHub gist containing CSS named colors, and `d3.csvFormat` to calculate the data length. The results are rendered as text in a `<pre>` element.

AI-generated description

A program that loads and parses some csv data.