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)

170002e20f7548beb64b892f3b7fcf85

Fork of Loading and Parsing CSV Data

0 stars0🌍 Public
YYodae Lim
Last edited Aug 16, 2023
Created on Aug 16, 2023

This example demonstrates loading and parsing CSV data from a remote source, displaying the dataset’s size in kilobytes, row count, and column count. It uses the d3.csv function to fetch and parse the CSS Named Colors dataset from a GitHub Gist, then formats the summary using d3.csvFormat. An alternative commented-out approach uses the fetch API with async/await and d3.csvParse. The visual output is plain text rendered inside a large HTML `<pre>` element.

AI-generated description