Activity6_Task3.2
✓ Published1🌍 Public
This example demonstrates a minimal VizHub setup that renders a static HTML page with a centered text message. It shows how to import D3.js functions and local ES6 modules within a project structure. The code uses `import { select } from 'd3'` to target a DOM element and sets its text content using `select('#message').text()`, while also importing a string from the local `myMessage.js` module. The page loads D3 v5 from a CDN and applies CSS styling to display the message prominently.
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