Activity6_Question1
✓ Published0🌍 Public
This example demonstrates the basic setup of a VizHub project, displaying the text “Hello VizHub!” in the center of the page using a large font size. It loads D3 v5 from a CDN and uses the `select` function from the `d3` module to set the text content of a `<div>` element. The code also illustrates local ES6 module imports through a separate `myMessage.js` file that exports the message string. The page structure is defined in `index.html`, while styling is applied via `styles.css`.
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