Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
OOleJRask
Last edited Sep 21, 2021
Created on Aug 24, 2021
Forked from Let's Make a Face

This example demonstrates how to load and parse CSV data in a web browser. It fetches a CSS named colors dataset from a GitHub gist, then displays the file size, column count, and row count in large text. The code uses the browser’s Fetch API to retrieve the raw text and D3 v7’s `d3.csvParse` to convert it into structured data. The final version reads the metrics from the parsed result and updates the page content accordingly.

AI-generated description

Half way towards a smiley face.

MIT Licensed

Similar vizzes