Skip to main content
100%

Loading and Parsing CSV Date

✓ Published0🌍 Public
CChristopher Cleland
Last edited Sep 12, 2021
Created on Sep 12, 2021
Forked from HTML Starter

This example demonstrates the loading and parsing of a CSV file containing CSS named colors. It displays the file size in kilobytes, the number of rows, and the number of columns in a large `<pre>` element. The code uses `d3.csv` to fetch the data from a GitHub gist and `d3.csvFormat` to measure the formatted string’s length. The page loads D3 v7 from a CDN and updates the message container via `textContent`.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes