Skip to main content
100%

Try

✓ Published0🌍 Public
Eeveryfin-in
Last edited Jan 3, 2021
Created on Jan 3, 2021
Forked from Hello VizHub

This example demonstrates a minimal setup for loading D3 and local ES6 modules within VizHub. It displays the text "Hello World" in a `<pre>` element by importing a message from a separate `myMessage.js` module. The page uses `import` from `"d3"` via UNPKG and local module syntax, with styling from `styles.css` that centers and enlarges the text. The code targets the element by ID and sets its text content directly.

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