Skip to main content
100%

Parsing CSV Data with D3

✓ Published0🌍 Public
MMareno Demmers
Last edited Oct 10, 2024
Created on Oct 9, 2024
Forked from HTML Starter

This example demonstrates how to load and parse CSV data using D3’s `d3.csv` method, displaying the file size, row count, and column count as large text in the browser. The code fetches a remote CSV file from a GitHub gist, parses it with `d3.csv`, and uses `d3.csvFormat` to measure the formatted data’s size in kilobytes. The results are rendered into a `<pre>` element via `document.getElementById`, with the visualization relying entirely on D3’s data-handling APIs rather than any drawing or charting functions.

AI-generated description
MIT Licensed

Similar vizzes