Skip to main content
100%

Loading and Parsing CSV Data with D3

✓ Published1🌍 Public
Bbakstorage00001
Last edited Feb 2, 2022
Created on Feb 2, 2022

This example demonstrates how to load and parse a CSV file using D3.js, displaying basic dataset statistics. The visualization shows the file size in kilobytes, row count, and column count within a large text element. The code fetches a CSV file containing CSS named colors from a GitHub Gist, uses `d3.csv` to retrieve and parse the data, then `d3.csvFormat` to measure its size, and finally updates the page’s pre-formatted text content. The D3 v5 API handles the asynchronous data loading and parsing.

AI-generated description

A program that loads and parses CSV data.

MIT Licensed

Similar vizzes