Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Loading and Parsing CSV Data

Public visualization

Fork of Loading and Parsing CSV Data

0 stars0🌍 Public
IIsaac Yuen
Last edited Apr 28, 2022
Created on Apr 28, 2022

This example demonstrates how to load and parse CSV data, displaying a summary of the dataset’s size in kilobytes, row count, and column count. It fetches CSS named colors from a GitHub gist and processes the data using `d3.csv` with promises in D3 v5. The code includes commented alternatives using `fetch`, `async`/`await`, and `d3.csvParse`, illustrating different asynchronous approaches. The result updates a plain text element, showing the parsed data’s dimensions without any chart rendering.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed