Skip to main content
100%

Retrieving and Parsing CSV

✓ Published0🌍 Public
Rrmgoldberg24
Last edited Nov 29, 2021
Created on Nov 12, 2021
Forked from HTML Starter

This example shows a minimal summary of a CSV dataset loaded from a remote URL, displaying the file size in kilobytes, row count, and column count as large text. It fetches a CSS named colors CSV using d3.csv, then applies d3.csvFormat to measure the data’s size. The page is built with a plain HTML pre element and styled via CSS, rendering the resulting metadata readout directly into the DOM. The code uses D3 v7’s promise-based CSV parsing and formatting functions without any additional framework.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes