Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
CCHIJIOKE-UKWU PROMISE
Last edited Feb 24, 2021
Created on Feb 24, 2021
Forked from Hello VizHub

This example demonstrates VizHub’s ability to combine ES6 modules with D3.js by rendering a simple “Hello VizHub!” message. It shows how to import both external libraries and local code, using `select` from D3 to target a `div#message` and setting its text via a custom `message` export from `myMessage.js`. The page loads styles from `styles.css` and D3 v5 from UNPKG, bundling everything into `bundle.js`.

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