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)

07ace4d9c00f47dd8d2050a9342bcb10

Fork of Loading and Parsing CSV Data

0 stars0🌍 Public
SSteven Pearce
Last edited Dec 15, 2021
Created on Dec 15, 2021

This example demonstrates loading and parsing CSV data from a remote URL using D3 v5 and React. It displays the size of the dataset in kilobytes, the number of rows, and the number of columns in a large text format. The code uses `d3.csv` to fetch and parse the data, alongside an alternative approach using the Fetch API with async/await and `d3.csvParse`. The data source is a CSV file containing CSS named colors hosted on GitHub Gist.

AI-generated description