Activity 7.1
✓ Published0🌍 Public
This example demonstrates a minimal D3.js setup within VizHub, rendering the static text “Hello VizHub!” in large, centered type. It shows how to load D3 from a CDN via UNPKG and use ES6 module imports, including a local custom module (`myMessage.js`) that exports the message string. The code relies on D3’s `select` function to update the DOM, highlighting basic module integration and dependency management without any data or interactive behavior.
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