Hello VizHub
✓ Published0🌍 Public
This example demonstrates a minimal D3.js setup within VizHub, displaying the text “Hello VizHub!” centered in the page. It loads D3 v5 from UNPKG and uses the `select` API to target the `#message` div, setting its content from a local ES6 module. The code imports a custom `message` constant from `myMessage.js` and applies styling via an external CSS file. The visualization shows how to combine CDN-hosted libraries with modular JavaScript imports.
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