Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates how VizHub projects can load D3 and use local ES6 modules, displaying a centered “Hello VizHub!” message. The code imports the `select` function from D3 and a custom `message` string from a separate `myMessage.js` module, then sets the text of the `#message` div via `select('#message').text(message)`. Styling is applied through an external `styles.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