Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 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.

MIT Licensed

Similar vizzes