🌍 Public
Viewing a saved revision (read-only)
8f19dde53bdb4f039b7dd2bf5776d7de
Loading and Parsing CSV Data
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter. A program that loads and parses some CSV data