Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Loading and Parsing CSV Data

Public visualization

Viewing a saved revision (read-only)

0a34979a8fba402ea411d327c73aea05

Fork of Loading and Parsing CSV Data

0 stars0🌍 Public
TTylerSaikaleyTheriault
Last edited May 30, 2022
Created on May 30, 2022

This visualization demonstrates loading and parsing CSV data from a remote URL using two different approaches. The program fetches the CSS Named Colors dataset and displays its size in kilobytes, row count, and column count as large text. The first method uses `d3.csv` with promises, while the second combines `fetch` with async/await and `d3.csvParse`. The code also includes commented examples of a nested "Pyramid of Doom" promise pattern, highlighting different asynchronous JavaScript techniques within a React framework using d3.v5.

AI-generated description