Activity6_Question4
✓ Published0🌍 Public
This example displays a static "Hello VizHub!" message centered on the page in large text. It demonstrates the integration of D3.js v5 and local ES6 modules within the VizHub environment. The code imports the `select` function from D3 to target the `#message` div and sets its text content using a value imported from `myMessage.js`, while also defining unused variables and a regular expression in the main script.
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