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)

ebf818ab2fea4390be2b6a443b6e5c01

Fork of Loading and Parsing CSV Data

0 stars0🌍 Public
IIrene-zou
Last edited Mar 22, 2021
Created on Mar 22, 2021

This example displays basic statistics about a CSS Named Colors dataset loaded from a CSV file. It uses D3.js version 5's `d3.csv` method to fetch and parse the remote data, then renders the file size, row count, and column count in a large text element. The code also includes commented-out alternatives using the Fetch API with async/await and `d3.csvParse`, demonstrating different approaches to CSV loading.

AI-generated description