Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 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
MIT Licensed

Similar vizzes