Activity6_Task1
✓ Published0🌍 Public
This example displays a simple text message, “Hello VizHub!”, centered on a web page. It demonstrates the basic structure of a viz application, showing how D3.js is used to select a DOM element and set its text content. The code loads the D3 library via UNPKG and uses the `select` function from `d3` to manipulate the message div, while also importing a local ES6 module to supply the string value.
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