Skip to main content
100%

Loading and parsing csv

✓ Published0🌍 Public
Hhjaitak
Last edited Apr 6, 2021
Created on Apr 6, 2021
Forked from HTML Starter

This example demonstrates fetching a remote CSV file and parsing it into JavaScript objects using the `fetch` API and `d3.csvParse`. The code loads the text from a GitHub Gist URL, converts it into structured data, and logs the resulting array to the browser’s developer console. The page is minimal, with large styled text and no visual rendering, focusing purely on the data-loading workflow. D3 v6 is loaded via a CDN, and the process is wrapped in an asynchronous function called on page load.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes