Skip to main content
Public

Share visualization

Loading preview…

Fork of Loading and Parsing CSV Data

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Loading and Parsing CSV Data

0
Hhuashe418
Last edited Jun 5, 2021
Created on Jun 5, 2021

This visualization displays the size and structure of a CSV dataset containing CSS named colors, reporting its file size in kilobytes, row count, and column count as large text. It demonstrates two equivalent approaches for loading and parsing CSV data: the primary method uses `d3.csv` with a Promise, while commented alternatives show `fetch` combined with `async`/`await` and `d3.csvParse`. The data originates from a GitHub gist containing named color values. The example highlights modern asynchronous JavaScript patterns for handling external data in D3 v5.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed