Fork of Fork of Hello VizHub
✓ Published4🌍 Public
This example demonstrates how VizHub loads D3 and local ES6 modules to display a simple text message. The page uses D3’s `select` API to target the `#message` div and set its text to “Hello VizHub!”. The message string comes from an imported local module, `myMessage.js`, while styles are applied via an external CSS file. The code also includes an unused D3 import and a regular expression literal.
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