Viewing a saved revision (read-only)
IlU-SeBvcuZaByJrfysM6
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 toindex.html. Rename the file or editCSV_FILENAMEinsideindex.htmlif 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: