Skip to main content
Public

Share visualization

Loading preview…

Toronto bus delay

vizhub.com

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

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

Viewing a saved revision (read-only)

R8g3KBpsDT7n_zBLRL0s2

Toronto bus delay

0 stars1Public
BBeniam001@outlook.com
Last edited Nov 2, 2026
Created on Nov 1, 2026

This example demonstrates a minimal Hello World visualization created with D3 v6, displaying the text “Hello VizHub!” centered on the page. It showcases VizHub’s support for loading D3 from UNPKG, importing D3 API functions like `select`, and combining local ES6 modules such as `message.js` alongside HTML and CSS. The rendering approach uses the DOM—D3’s `select` method targets the `#message` div to set its text content, with styling controlled by the linked `styles.css` file. This serves as a template for more complex projects.

TTC Bus Delay Dashboard (2022)

An interactive ECharts dashboard that summarises TTC bus delay reports for the 2022 dataset.

Files

  • index.html — the dashboard (HTML, CSS, and JavaScript in one file).
  • ttc-bus-delay-data-2022.csv — the source CSV must be placed next to index.html. Rename the file or edit CSV_FILENAME inside index.html if your CSV has a different name.

Why do I see "Failed to fetch"?

Browsers block fetch() requests for local files when you double-click index.html (the URL looks like file:///...). There are two ways to fix it:

Option 1 — use a tiny local web server (recommended)

Run one of the following commands from this folder:

MIT Licensed