Skip to main content
100%

Fork of HTML Starter

✓ Published1🌍 Public
AAmir
Last edited Feb 26, 2021
Created on Feb 25, 2021
Forked from HTML Starter

This example displays basic metadata about a CSV file, showing the file size, row count, and column count as plain text on a web page. It fetches the data from a remote GitHub Gist containing CSS named colors using `d3.csv`, then computes the formatted size with `d3.csvFormat` and reads row and column counts from the resulting array. The code uses D3 v6, with `d3.csv().then()` for asynchronous loading, and writes the summary into a preformatted element via `document.getElementById().textContent`.

AI-generated description

fetch the data from csv file

MIT Licensed

Similar vizzes