Skip to main content
Public

Share visualization

Loading preview…

First steps in parsing data

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

First steps in parsing data

0
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.

Comments

Sign in to join the discussion.

MIT Licensed