Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 Public
TTImmykiller5
Last edited Mar 1, 2023
Created on Mar 1, 2023

This example demonstrates how to load and parse CSV data in a web page. It displays the size of the dataset in kilobytes, the number of rows, and the number of columns in a large text element. The primary method uses `d3.csv` to fetch and parse the CSS Named Colors dataset from a GitHub gist URL. The code also includes commented-out alternatives using the Fetch API with `async`/`await` and `d3.csvParse`, as well as a nested promise pattern.

AI-generated description
MIT Licensed

Similar vizzes