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
SSofffos
Last edited Feb 27, 2021
Created on Feb 26, 2021
Forked from HTML Starter

This example demonstrates how to load and parse CSV data using D3, displaying a summary of the dataset in a large text element. It fetches a CSV file containing CSS named colors from a GitHub gist using `d3.csv`, then reports the file size in kilobytes, the number of rows, and the number of columns. The visualization also includes commented-out alternatives using the Fetch API and `d3.csvParse`, showing different approaches to achieving the same result.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed