🌍 Public
Viewing a saved revision (read-only)
71191f2cd779434a9d1bdbf2389ee0d4
Loading and parsing csv
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.