Skip to main content
Public

Share visualization

Loading preview…

Example of Loading External 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

Example of Loading External Data

0 stars0Public
CCurran Kelleher
Last edited Nov 18, 2018
Created on Nov 18, 2018
Forked from Auto MPG Summary

This example demonstrates how to fetch and display external tabular data directly from a GitHub repository URL, bypassing the need for manual upload. The visualization shows a summary of the dataset’s row count, column count, and file size in kilobytes, followed by the first 10 rows formatted as JSON. The code uses D3’s `tsv()` function to load a TSV file from `https://raw.githubusercontent.com/hopperrr/ellis-immigration-by-ship`, along with `select()`, `csvFormat()`, and `format()`. The dataset originates from the Ellis Island immigration ship records.

AI-generated description

This example shows how you can pull in data directly from URLs that start with https://raw.githubusercontent.com/, without the need to upload the data into VizHub. This dataset, for example, comes from hopperrr/ellis-immigration-by-ship.

Comments

Sign in to join the discussion.

MIT Licensed