Skip to main content
100%

Load and Viz Data

✓ Published0🌍 Public
Iikerson
Last edited Aug 9, 2021
Created on Aug 8, 2021
Forked from HTML Starter

This example demonstrates loading a CSV file from a GitHub gist using D3 v5 and displaying basic statistics about the dataset, including its size in kilobytes, row count, and column count. The visualization renders these metrics as plain text in a large HTML `<pre>` element. The code uses the `d3.csv` method to fetch and parse the data asynchronously, then calls `d3.csvFormat` to measure the formatted string length. The commented sections show alternative approaches using `fetch` and `d3.csvParse`.

AI-generated description

A program to practice loading and parsing data from Github.

MIT Licensed

Similar vizzes