Activity6_Task 1
✓ Published0🌍 Public
This example displays the text "Hello VizHub" centered on a blank page. It demonstrates the basic setup of a VizHub project, importing the `select` function from the D3.js library and a local ES6 module. The code uses `select('#message').text(message)` to render the text inside the `div` element. The example primarily serves as a minimal template, loading D3 from a CDN via UNPKG and structuring files for modularity.
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