Skip to main content
100%

Loading and Parsing csv data

✓ Published0🌍 Public
JJordan Trémoureux
Last edited Jul 6, 2022
Created on Jul 6, 2022
Forked from HTML Starter

This example demonstrates parsing CSV data from a remote source using D3 v7 in a minimal HTML page. It fetches a gist containing CSS named colors and parses it with `d3.csvParse` and `d3.csv`, logging the data size, row count, and column count to the console. The code contrasts manual `fetch` with async/await against D3’s built-in `d3.csv` promise API, highlighting both approaches for loading tabular data. The page itself shows only a static title, with all results displayed in the browser’s developer console.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes