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
JJulianLeira
Last edited Oct 20, 2021
Created on Oct 20, 2021

This example displays file statistics for a CSV dataset containing CSS named colors. It fetches the data from a remote URL and reports the file size in kilobytes, the number of rows, and the number of columns in a large text display. The implementation uses the `d3.csv` function to load and parse the data, leveraging the Promise-based API from D3 v5. A commented alternative demonstrates fetching text with `fetch`, `async`, and `await`, followed by `d3.csvParse`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed