Activity 6 Task 1
✓ Published1🌍 Public
This example demonstrates a minimal VizHub integration, loading D3.js via a CDN and rendering a simple "Hello VizHub!" message through the `select` API onto an HTML div. The code highlights modular ES6 imports, combining D3’s DOM selection methods with a local `myMessage.js` module for the display text, while `styles.css` centers and scales the output. It serves as a foundational template for testing D3 functionality and modular JavaScript workflows.
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