Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 Public
DDeborah Ong
Last edited Apr 3, 2021
Created on Apr 3, 2021

This example displays metadata about a CSV file containing CSS named colors, showing its size in kilobytes, row count, and column count in large text. The code uses D3 v5’s `d3.csv` function to fetch and parse the remote CSV data asynchronously, then formats the result with `d3.csvFormat` to compute the byte size. It also demonstrates alternative approaches with `fetch` and `d3.csvParse` in commented-out sections, highlighting different methods for loading tabular data.

AI-generated description
MIT Licensed

Similar vizzes