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)

d79c26c11bdf4ef589a1479948b76aa6

Fork of Loading and Parsing CSV Data

0 stars0🌍 Public
Llatifiss
Last edited Jul 31, 2022
Created on Jul 31, 2022

This example demonstrates the loading and parsing of a CSV file containing CSS named colors. The visualization displays three numeric statistics in a large text format: the file size in kilobytes, the number of rows, and the number of columns in the dataset. The code primarily uses d3.csv from d3.v5 to fetch and parse the remote CSV, then formats the result with d3.csvFormat. It also includes commented-out alternatives using the Fetch API with async/await and a nested-promise approach for comparison.

AI-generated description