Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
MMorgan Worrell
Last edited Aug 3, 2023
Created on Aug 3, 2023

This example demonstrates how to load and parse CSV data using modern JavaScript asynchronous patterns. It fetches a CSS Named Colors dataset from a GitHub gist. The program defines an async function that uses the Fetch API to retrieve the text, then chains a promise to log the contents to the browser console. No visualization or rendering occurs; the focus is purely on data ingestion. It relies on D3.js v5 for the d3.min.js library but primarily showcases native ES2017 async/await syntax with fetch.

AI-generated description
MIT Licensed

Similar vizzes