Activity6_Task3
✓ Published1🌍 Public
This example demonstrates how to assemble a minimal VizHub project using D3.js and local ES6 modules. It renders a static message, “Hello VizHub!”, into a centered HTML div using the D3 `select` API. The code imports the `select` function from the D3 library and a custom string from the `myMessage` module, illustrating both external and internal import patterns. Styling is applied via an external CSS file, and D3 is loaded from a CDN via UNPKG.
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