activity 6_Task 1
✓ Published0🌍 Public
This example renders a simple "Hello VizHub!" message in large text, centered on the page. It demonstrates fundamental VizHub capabilities: loading D3.js v5 via UNPKG, importing the `select` function from D3, and importing a local ES6 module (`myMessage.js`) that exports the message string. The code also includes a regular expression and an unused variable. The D3 `select` API targets the message div in `index.html`, while `styles.css` controls 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