Skip to main content
100%

First steps in parsing data

✓ Published0🌍 Public
PPlatoch
Last edited Feb 26, 2022
Created on Feb 26, 2022

This example demonstrates how to parse a remote CSV file and display basic summary statistics about the dataset. The code loads sales data from a Gist-hosted CSV using `d3.csv`, then computes total and mean sales values with `d3.sum` and `d3.mean`. It also reports memory usage via `d3.csvFormat`, row and column counts, and column names. The results are rendered as plain text in a `<pre>` element on an HTML page styled with CSS, alongside a static basketball image.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes