Activity 6_Task 3
✓ Published0🌍 Public
This example displays a simple text message, “Hello VizHub!”, centered on the page with large typography. It demonstrates a basic VizHub template that loads D3 via UNPKG and uses the `select` function from D3 to target the `#message` div and set its text content. The code also showcases local ES6 module imports through `myMessage.js`. The styling is handled with CSS, setting the text alignment and font size.
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