🌍 Public
Viewing a saved revision (read-only)
83979c0b47c04f64ab68b969e2fa6999
Fork of Hello VizHub
This example displays a simple text message—“Hello VizHub!”—centered on the page using D3.js. It demonstrates importing the `select` function from D3 via ES6 modules, alongside a local module that exports the message string. The code loads D3 v5 from UNPKG, applies styling through an external CSS file, and renders the text by setting the DOM element’s content with `select().text()`.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.