Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 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
MIT Licensed

Similar vizzes