Fork of Hello VizHub
✓ Published0🌍 Public
This example renders a simple centered text message, “Hello VizHub!”, on a web page. It demonstrates the basic workflow of a D3 project within VizHub by loading the D3 library from UNPKG and using the `select` function to target a specific DOM element. The code also shows how to import and use a local ES6 module, `myMessage.js`, to supply the displayed string. The page’s styling is handled through an external CSS file, showcasing modular organization of code and assets.
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