Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
EEFezerKW
Last edited Sep 28, 2021
Created on Sep 27, 2021
Forked from HTML Starter

This example demonstrates how to load and parse CSV data from a remote URL using the D3.js library. It fetches a dataset of CSS named colors from a GitHub gist and uses the `d3.csv` method to parse the file. The visualization then displays summary statistics about the dataset, including its approximate size in kilobytes, the number of rows, and the number of columns. The results are presented as a large text message in an HTML `<pre>` element, with a commented-out alternative showing the same process using the `fetch` API and `d3.csvParse`.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes