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
YYeeleng Scott Vang
Last edited Jun 6, 2023
Created on Jun 6, 2023

This visualization displays summary statistics about the CSS Named Colors CSV dataset by showing the file size in kilobytes, the number of rows, and the number of columns in large text. The code uses the D3.js v5 library’s `d3.csv` function to fetch and parse the remote CSV file, then accesses the resulting data object’s `length` and `columns` properties. It also demonstrates an alternative approach using the Fetch API with `async`/`await` for parsing, along with commented-out code illustrating a nested promise pattern.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed