Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
Nnpinta
Last edited Dec 11, 2022
Created on Dec 11, 2022
Forked from HTML Starter

This example demonstrates how to load and parse CSV data using D3 v7, displaying summary statistics about the dataset. The code fetches a CSV file containing CSS named colors from a GitHub gist via `d3.csv`, then computes and renders the file size in kilobytes, row count, and column count into a large HTML `<pre>` element. It also logs the parsed array of objects to the browser console using `console.log`. The visualization highlights the basic workflow of asynchronous data loading and parsing with `d3.csv`.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes