Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parsing CSV Data

Public visualization

Loading and Parsing CSV Data

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed