Hello VizHub
✓ Published0🌍 Public
This example demonstrates a minimal setup for building interactive visualizations with D3 within VizHub. It renders the text “Hello VizHub!” in a centered, large font on the page. The code imports the `select` function from the D3 library and a local ES6 module named `myMessage`, which exports the message string. D3 is loaded via UNPKG, and the message is injected into an HTML div using the `select` and `.text` methods.
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