Fork of Fork of Hello VizHub
✓ Published1🌍 Public
This example demonstrates how VizHub loads D3 and renders a simple text message using local ES6 modules. The code uses `d3.select` from an UNPKG-hosted D3 v5 bundle to set the text of a `#message` div, with the string imported from `myMessage.js`. It includes a stylesheet for centered, large-font styling. The page structure is defined in `index.html`, while `bundle.js` loads the main script that connects these pieces.
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