Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
Pplchao
Last edited Nov 11, 2022
Created on Nov 11, 2022
Forked from Hello VizHub

This example demonstrates how VizHub supports ES6 module imports and external library loading to render a simple static message. It uses D3 v5, imported via UNPKG from a CDN, to select the `#message` div and set its text. The text content comes from a local ES6 module, `myMessage.js`, which exports the string "Hello VizHub!". The page is styled with a CSS file, centering the message at a large font size.

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