Skip to main content
100%

Refactoring the Loading and Parsing CSV Data page

✓ Published0🌍 Public
JJohn Kobbeman
Last edited Feb 28, 2021
Created on Feb 28, 2021

This example demonstrates how to load and parse CSV data from a remote URL. The page displays three concise statistics about the dataset: its size in kilobytes, the number of rows, and the number of columns. Using `d3.csv`, it fetches a gist containing CSS named colors, then processes the result by `d3.csvFormat` and the `data.length` and `data.columns.length` properties. The output is rendered as plain text inside a `<pre>` element via `textContent`.

AI-generated description

A more elegant version of a program that loads and parses some SCV Data.

MIT Licensed

Similar vizzes