Skip to main content
100%

load csv

✓ Published3🌍 Public
AAliciaNiu
Last edited Jul 16, 2021
Created on Jul 14, 2021
Forked from HTML Starter

This example demonstrates loading and inspecting a CSV file using D3.js within an HTML page. It fetches data from a GitHub Gist and displays the row and column counts in a large, centered text format. The code relies on `d3.csv()` to parse the remote file asynchronously, leveraging the promise-based `then()` method to process the result. The page uses D3 v7, loaded via a CDN, and updates the `textContent` of a `<pre>` element with the summary information. React is noted in the metadata but not directly used here.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes