Skip to main content
100%

Hello World!

✓ Published0🌍 Public
Aatheeralattar
Last edited Feb 14, 2021
Created on Feb 14, 2021
Forked from Hello VizHub

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes