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)

d129917b716440348bed3ea994ca5773

Loading and Parsing CSV Data

0 stars0🌍 Public
SShijiaYan
Last edited Jun 5, 2021
Created on May 27, 2021
Forked from HTML Starter

This example demonstrates the fundamental process of loading and parsing a CSV file with D3.js (version 5) inside an HTML page. It fetches a remote dataset of CSS named colors and displays three computed statistics in large type: the number of rows, the number of columns, and the data size in kilobytes. The visualization uses the `d3.csv()` API to asynchronously fetch and parse the data, then calls `d3.csvFormat()` to measure the formatted string length, providing a simple, functional output. The React framework is noted in the metadata for context.

AI-generated description

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

See also React Starter.