Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
EErik
Last edited Sep 8, 2021
Created on Sep 7, 2021
Forked from Hello HTML

This example demonstrates how to load and parse CSV data using D3 v7, displaying the dataset's size in kilobytes, row count, and column count. It fetches a CSV file of CSS named colors from a GitHub gist via `d3.csv`, then formats the data with `d3.csvFormat` to calculate its size. The results are rendered as text in a large `<pre>` element, with commented-out alternative code showing `fetch` combined with `d3.csvParse`.

AI-generated description

A programme that loads and parses CSV data.

MIT Licensed

Similar vizzes