Activity_6_Task_1
✓ Published0🌍 Public
This example demonstrates VizHub’s ability to load D3 from a CDN and combine ES6 module imports for a simple DOM update. It displays a static “Hello VizHub!” message centered on the page, styled via CSS. The code imports `select` from `d3` to set the text content of a `div`, and also imports a local `message` variable from `myMessage.js`, which holds the displayed string. The visualization itself shows no dynamic data or rendering, serving only as a minimal proof-of-concept for module-based D3 projects.
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