🌍 Public
Viewing a saved revision (read-only)
d0eb4cb03e7f44cfbe7e06f6dcbcdaa1
Fork of Hello VizHub
This example demonstrates a minimal VizHub integration, displaying the text "Hello VizHub!" centered on the page. It loads D3.js version 5 from a UNPKG CDN and uses the `select` function from `d3` to target the `#message` div, then sets its text content. The implementation also showcases local ES6 module imports, with the message string defined in a separate `myMessage.js` file.
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.