Skip to main content
100%

Parsing CSV data with D3

✓ Published0🌍 Public
EElvira Nassirova
Last edited Jun 8, 2021
Created on Jun 8, 2021

This example demonstrates how to load and parse a CSV file from a remote URL using D3 v6. It displays the file size, row count, and column count on the page. The code uses `d3.csv` to fetch and parse the data asynchronously, then accesses the resulting array and its `columns` property, while `d3.csvFormat` is used to measure the raw text length. The data comes from a GitHub gist containing CSS named colors.

AI-generated description

A program that loads and parses some CSV data.

MIT Licensed

Similar vizzes