Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates a minimal D3.js setup within the VizHub environment, displaying the text “Hello VizHub!” centered in the browser. It loads D3 v5 from a CDN via UNPKG and uses the `select` API to target a `div` element and set its content. The code also illustrates importing a local ES6 module, `myMessage.js`, to supply the displayed string, with styling applied through an external CSS 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.
MIT Licensed