Hello World!
✓ Published0🌍 Public
This example demonstrates the basic workflow of a VizHub project, showing how a single text message is rendered to the page using a module structure. It explicitly loads D3 via UNPKG and uses ES6 `import` statements in `index.js` to import the message from a local ES6 module (`main.js`). The code then writes the message to the DOM by accessing the `<pre id="message-element">` element’s `textContent` property, with the HTML file loading the compiled `bundle.js` script.
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