Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parsing CSV Data with D3

Public visualization

Viewing a saved revision (read-only)

f4bdcde26f2f4bb4a0330419ae877d28

Loading and Parsing CSV Data with D3

0 stars0🌍 Public
Rrekabbnad
Last edited Jun 16, 2022
Created on Jun 13, 2022
Forked from HTML Starter

This example demonstrates the basic process of loading and parsing CSV data using D3. It displays a summary of the dataset’s size, row count, and column count in large text. The code uses the `d3.csv` method to fetch a remote CSV file containing CSS named colors from a GitHub gist, then formats the parsed data with `d3.csvFormat` to calculate its size in kilobytes. The result is rendered into a `<pre>` element using standard DOM manipulation.

AI-generated description

A program that loads and parses CSV data A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.