🌍 Public
Viewing a saved revision (read-only)
6fd4f33995a84ef3b137ad56f36e34ce
activity 6_Task 1
This example displays a simple text message, “Hello VizHub!”, centered on the page using D3.js to select the target HTML element and set its content. The code imports local ES6 modules and demonstrates how D3 can be loaded via UNPKG, alongside custom CSS styling. It highlights the basic integration of D3 within a VizHub project, using the `select` API to manipulate the DOM.
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.