Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates how to use VizHub to load D3 and local ES6 modules in a minimal web page. It uses the `d3.select` API to set the text content of a `div` element with the message “g”, imported from the `myMessage.js` module. The page includes D3 v5.16.0 from UNPKG, renders a single styled message centered with CSS, and shows a basic pattern for combining CDN libraries with local modular JavaScript.
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