Skip to main content
Public

Share visualization

Loading preview…

Loading and Parsing Post Office 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

Loading and Parsing Post Office Data

1
RRobert Johnson
Last edited Sep 27, 2021
Created on Sep 5, 2021

This example displays a summary of a parsed dataset of historical United States post office locations, showing the data’s size in kilobytes, the number of rows, and the number of columns. Using the D3.js library (version 5), the code loads a CSV file from a GitHub raw URL via `d3.csv`, then computes the formatted size with `d3.csvFormat`. The results are rendered as plain text inside a `<pre>` element, with the font size enlarged via CSS.

AI-generated description

A program that loads and parses a datset of the names and locations of every United States post office that has existed, for which the coordinates are known.

Comments

Sign in to join the discussion.

MIT Licensed