Skip to main content
100%

Untitled

✓ Published0🌍 Public
SSinasirousnejad
Last edited Nov 28, 2022
Created on Nov 28, 2022
Forked from Hello VizHub

This example demonstrates VizHub’s ability to load D3 via UNPKG and use ES6 modules locally. It imports the `select` function from D3 and a custom `message` constant from `./myMessage`, then sets the text of a `#message` div to display “Hello VizHub!”. The page is styled with centered, large text via `styles.css`, while the HTML shell loads a bundled script. It serves as a minimal template for combining external libraries with modular JavaScript in a VizHub environment.

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