activity 7.1
✓ Published0🌍 Public
This example demonstrates how to build a simple web page that displays a centered "Hello VizHub!" message using D3.js and ES6 modules. It loads D3 v5 via UNPKG and imports the `select` function to target the HTML element, while a local module provides the message string. The page is styled with CSS and shows the basic workflow of combining external libraries, local modules, and DOM manipulation in a VizHub environment.
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