Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 Public
SStefan Apostol
Last edited Dec 19, 2022
Created on Dec 18, 2022
Forked from Hello VizHub

This example demonstrates loading and parsing CSV data, displaying the file size in kilobytes, row count, and column count of the dataset. It uses D3 v5’s `d3.csv` method to fetch and parse a remote CSS colors CSV file from a GitHub gist. The page also includes commented-out alternatives using `fetch`, `async`/`await`, and `d3.csvParse`, along with a “pyramid of doom” example, showcasing different approaches to asynchronous data loading. The results appear in large text within a `<pre>` element.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes