Fork of Activity6_task4 question
✓ Published1🌍 Public
This example demonstrates how to import and use D3 v5 and local ES6 modules within a VizHub project. It renders the text “Hello VizHub!” into a div element using the `select` function from D3, while the message content is exported from a separate `myMessage.js` module. The page also defines a constant and a regular expression in the main script, and applies centered 12em font styling via an external CSS file. The code illustrates basic module bundling and D3 DOM manipulation.
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