Activity-6 question-1
✓ Published1🌍 Public
This example displays a large, centered text message in the browser. It demonstrates basic VizHub project structure by loading D3 from a CDN and importing both the D3 `select` function and a local ES6 module. The code uses `select('#message').text(message)` to update the HTML div’s content, while CSS styling handles the visual layout. The data source is a static string defined in `myMessage.js`.
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