Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
TT.T
Last edited May 3, 2021
Created on May 3, 2021
Forked from HTML Starter

This example demonstrates loading and parsing a CSV file with D3, displaying the file size, row count, and column count as large text. It uses `d3.csv` to fetch and parse the CSS Named Colors dataset from a GitHub gist, then formats the results with `d3.csvFormat` to calculate kilobytes. The code also includes commented alternatives using `fetch` with `async/await` and `d3.csvParse`.

AI-generated description

A program that loads and parses CSV data.

MIT Licensed

Similar vizzes