ACTIVITY 6_Task 1
✓ Published0🌍 Public
This example demonstrates how to import and use D3.js v5 alongside local ES6 modules within a VizHub project. It loads D3 from a CDN via UNPKG and uses the `select` API to target a DOM element, setting its text content to a custom message defined in a separate module. The page displays a large, centered greeting by applying CSS styling to the message div. The visualization serves as a minimal template for integrating external libraries and modular JavaScript code.
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