๐ Public
Fork of Hello VizHub NRA
This example demonstrates how to load D3 via UNPKG and use ES6 modules in VizHub. The page displays the text "Hello VizHub!" centered on a white background using the `select` function from `d3` to set the text content of the message div. It imports a local string constant from `myMessage.js` and applies styling from an external CSS file. The code shows a minimal setup for combining D3 with modular JavaScript in a browser environment.
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.
MIT Licensed








Comments
Sign in to join the discussion.