Assignment2_Question3
✓ Published1🌍 Public
This example demonstrates the basic functionality of VizHub, showing how to load D3 via the UNPKG CDN and import local ES6 modules. The page uses `select('#message')` from d3 to target a div element and set its text content to a string imported from `myMessage.js`. The `styles.css` file applies large, centered typography to the message. The example serves as a minimal template for combining D3 with external libraries and modular JavaScript code within a single HTML page.
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