Skip to main content
100%

ICE 5 : Loading and Parsing CSV Data with D3.js

✓ Published0🌍 Public
AAditya Pujari
Last edited Feb 28, 2022
Created on Feb 28, 2022
Forked from D3 Starter

This example shows how to load and parse a remote CSV file with D3 version 6 or 7. The page displays basic dataset statistics—size in kilobytes, number of rows, and number of columns—in a styled `<pre>` element. It uses `d3.csv` to fetch the Netflix dataset from a GitHub gist and `d3.csvFormat` to calculate the data’s size. The script also demonstrates chaining a promise with `.then` to handle the parsed data. A commented-out line references `document.getElementById`, though the active code updates the text container directly.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes