Skip to main content
100%

Loading and parsing CSV data

✓ Published0🌍 Public
MMartina Sladekova
Last edited Jan 17, 2022
Created on Jan 16, 2022
Forked from HTML Starter

This example demonstrates how to load CSV data from a remote URL and display basic statistics about it. The page shows the file size in kilobytes, the number of rows, and the number of columns with column names. It uses d3.csv to fetch and parse the data from a GitHub gist containing named CSS colors. The results are rendered as plain text inside a pre element, with the message constructed using string concatenation. The code also includes commented-out alternatives using fetch and d3.csvParse.

AI-generated description

A program that loads and parses csv data

MIT Licensed

Similar vizzes