Fork of Hello VizHub
✓ Published14🌍 Public
This example displays the text “Hello VizHub!” centered in large type within a message div. It demonstrates VizHub’s fundamental workflow by loading D3.js v5 from UNPKG via a script tag and importing the `select` function from the `"d3"` module. The code also imports a local ES6 module, `myMessage.js`, which exports the displayed string. D3’s `select` method targets the `#message` element to set its text content, while CSS styles control font size and alignment.
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