Activity6_Task1
✓ Published1🌍 Public
This example demonstrates a minimal Hello VizHub setup, showing how a D3.js selection can update the text content of an HTML element. It imports the `select` function from D3 v5 and a local ES6 module, `myMessage.js`, to supply the string "Hello VizHub!" which is then rendered into the `#message` div via `select('#message').text(message)`. The page loads D3 from a CDN and uses plain CSS for centered, large-font styling, illustrating basic module imports and DOM manipulation in a VizHub project.
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