Fork of Hello VizHub
✓ Published0🌍 Public
This example presents a minimal web page that displays the message "Hello VizHub!" centered on the screen. A small JavaScript program imports both the D3.js library and a local ES6 module to set the text content of a div element. It demonstrates how to load D3 v5 from a CDN via UNPKG and combine it with local module imports. The code uses the `select` function from D3 to target the `#message` element and assign the string from the local `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.
MIT Licensed