Activity6_Task2
✓ Published0🌍 Public
This example displays a simple "Hello VizHub!" message centered on the page. The visualization uses D3’s `select` function to target the `#message` div and assign the text from a local ES6 module. The project demonstrates how to import both D3 via UNPKG and custom modules, with styling handled by an external CSS file. The code includes a declared variable and regex but does not visibly use them in the output.
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