Activity-6 T-2
✓ Published1🌍 Public
This example demonstrates the basic setup for a VizHub project, showing how to combine D3.js with local ES6 modules. It loads D3 v5 via UNPKG and uses the `select` function from D3 to update the text content of a `div` element with the ID `message`. The text itself comes from a separate `myMessage.js` module, which exports a string via `export const`. The page also includes simple CSS styling for centering and sizing the message text.
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