Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
AAbi360
Last edited Aug 3, 2021
Created on Jul 31, 2021
Forked from HTML Starter

This example demonstrates loading and parsing CSV data from a remote URL, displaying a summary of the dataset's size in kilobytes, row count, and column count. It uses the D3.js v7 library, specifically the `d3.csv` method for fetching and parsing the data, along with `d3.csvFormat` to calculate the formatted size. The parsed data comes from a GitHub Gist containing tabular data. The results are rendered as large text within an HTML `<pre>` element, with the page’s styling controlled through CSS.

AI-generated description

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

See also React Starter. A program that loads and parses some CSV data

MIT Licensed

Similar vizzes