Activity-6
✓ Published104🌍 Public
This example demonstrates the basic setup of a VizHub project, showing how to render a static text message to the page using D3.js and ES6 modules. The visualization uses `select` from D3 to target a div element and sets its text content to a string imported from a local module. The page loads D3 v5 from the UNPKG CDN, while styles are applied via an external CSS file. The code also includes an unused constant and regular expression, though they do not affect the displayed output.
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