Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parsing CSV

Public visualization

Viewing a saved revision (read-only)

88b4fc3f3ae44b1883f047e391273db3

Loading and Parsing CSV

0 stars0🌍 Public
Bbingsen0806
Last edited Jun 15, 2021
Created on Jun 15, 2021
Forked from HTML Starter

This example shows how to load and parse a CSV file with D3 v7, displaying a summary of the dataset’s size, row count, and column count. It fetches a CSV of CSS named colors from a GitHub gist, then uses `d3.csv` to parse the text and `d3.csvFormat` to measure the data’s file size in kilobytes. The results are written to a `<pre>` element on the page using vanilla JavaScript and the `fetch` API for the initial request.

AI-generated description

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

See also React Starter.