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)

b5b425e8fa9c471c9dbb08d7e61923bc

Fork of Loading and Parsing CSV Data

0 stars0🌍 Public
AAnHaiTrinh
Last edited May 2, 2023
Created on May 2, 2023

This example demonstrates how to load and parse CSV data, displaying the dataset’s size in kilobytes, number of rows, and columns as large text. It fetches a remote CSV file of CSS named colors using the `fetch` API and `async`/`await`, then parses the text with `d3.csvParse`. The visualization relies on d3 v5 and showcases an alternative to `d3.csv`, highlighting manual text retrieval and parsing.

AI-generated description