🌍 Public
Viewing a saved revision (read-only)
7df6e471b1b34ca0bb25703cb22885b6
First steps in parsing data
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.