activity 6_Task 3
✓ Published0🌍 Public
This example demonstrates the basic setup and functionality of a VizHub project, showing how to load D3 v5 via UNPKG and use it to manipulate HTML content. The visualization displays the text "Hello VizHub!" in a large, centered format using CSS styling. The code imports the `select` function from D3 and a custom message from a local ES6 module, then applies that message to a DOM element through D3's selection API. It also includes examples of local CSS imports and ES6 module usage within the project structure.
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