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
PPatrick Byron Gattoc
Last edited Sep 26, 2021
Created on Sep 26, 2021

This example demonstrates how to load and parse a CSV file containing CSS Named Colors using D3 v5 and React. The page displays a summary of the dataset—its size in kilobytes, number of rows, and number of columns—in a large text element. The primary implementation uses `d3.csv` with promises, while commented-out alternatives show `fetch` with `async`/`await` and `d3.csvParse`, plus a nested promise structure illustrating the "pyramid of doom." The data comes from a GitHub gist hosted CSV file.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed