Hello World
✓ Published0🌍 Public
This example demonstrates a simple interactive message display. It shows how to use ES6 modules and D3’s import system by loading D3 from UNKP, importing a local `myMessage.js` module, and updating HTML content via `document.getElementById().textContent`. The text is styled with CSS, centered and enlarged, while the JavaScript sets the message to “Hi” on load. The code highlights basic DOM manipulation and module imports in a minimal VizHub setup.
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.
MIT Licensed