Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
Aabreeson
Last edited Jul 13, 2021
Created on Jul 9, 2021

This example demonstrates how to load and parse CSV data using D3 v7, displaying a summary of the dataset's size and structure. The code fetches a CSS Named Colors CSV file from a GitHub gist using `d3.csv`, then computes and presents the total kilobytes, row count, and column count in a large `<pre>` element. The visualization highlights the parsed result through simple text output, showcasing the asynchronous data-loading pattern with Promises and the `d3.csvFormat` API for measuring data size.

AI-generated description
MIT Licensed

Similar vizzes