Activity6_Task4
✓ Published1🌍 Public
This example demonstrates the use of ES6 modules and D3.js in a VizHub project. It imports the `select` function from D3 via UNPKG and a local module named `myMessage.js` to set the text content of a div element. The code also declares unused variables and a regular expression. The page is styled with centered, large-font text using the `styles.css` file. The focus is on modular code organization and basic DOM manipulation with D3.
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