Skip to main content
100%

Loading and parsing of CSV Data

✓ Published0🌍 Public
Vvijaytayal
Last edited Sep 5, 2021
Created on Sep 4, 2021
Forked from HTML Starter

D3.js v5 loads a CSV file of CSS named colors and displays its dimensions as text, reporting the file size in kilobytes, row count, and column count. The example contrasts two parsing paths: `d3.csv` handles the entire fetch-and-parse pipeline directly, while commented-out code demonstrates an async/await approach using `fetch` and `d3.csvParse`. The visualization itself is purely textual, rendered inside an HTML `<pre>` element, with the data sourced from a GitHub gist.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes