Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Example of Loading External Data

Public visualization

Viewing a saved revision (read-only)

792662f1c248485b94f474f7874e5969

Example of Loading External Data

0 stars0🌍 Public
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.