Skip to main content
100%

Loading and parsing CSV data

✓ Published0🌍 Public
LLewis Ward
Last edited Jun 21, 2021
Created on Jun 21, 2021
Forked from Hello VizHub

This example demonstrates loading and parsing a CSV file of CSS named colors from a remote URL, then displaying a summary of the parsed data. It fetches the raw text using the browser’s `fetch` API, parses it with `d3.csvParse`, and reports the row count, column count, and file size in kilobytes within a `<pre>` element. The code uses D3 v7 and relies on JavaScript’s async/await for the network request.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes