🌍 Public
Viewing a saved revision (read-only)
0b19db8b3f98403392d77e4dae7e9696
Fork of 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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.