Activity6 Task4
✓ Published0🌍 Public
This example displays the text "Hello VizHub!" centered on a plain background, demonstrating the basic workflow of a VizHub project. It loads D3.js version 5 from a CDN and uses the `select` API to target the `#message` div and set its text content. The page imports a local ES6 module, `myMessage.js`, which exports the displayed string, and applies styling through an external CSS file. The example shows how to combine global library imports, local module imports, and D3 DOM manipulation in a minimal 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