Activity 6 Task 4
✓ Published1🌍 Public
This example displays the text "Hello VizHub!" in a large, centered message on a webpage. It demonstrates a fundamental D3.js workflow by using the `select` function to target the `#message` div and set its text content. The text itself is defined in a separate local ES6 module, `myMessage.js`, and imported into the main `index.js` file. The page's styling is handled through a linked CSS file, utilizing the `#message` selector to control font size and alignment.
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