Skip to main content
100%

Parsing CSV Data with D3

✓ Published0🌍 Public
TTetiana Humeniuk
Last edited Jan 1, 2023
Created on Jan 1, 2023

This visualization demonstrates how to parse CSV data using D3.js by fetching a remote file and displaying summary statistics. The page shows the dataset’s row count, column count, and file size in kilobytes within a large text element. It uses D3’s `d3.csv()` function to load and parse the CSV from a GitHub gist, then formats the data with `d3.csvFormat()` to calculate its size. The example also includes commented-out code using `fetch()`, `async`/`await`, and `d3.csvParse()` as an alternative parsing approach.

AI-generated description

A program that loads and parses some CSV data.

MIT Licensed

Similar vizzes