Fork of Fork of Hello VizHub
✓ Published1🌍 Public
This example demonstrates the foundational workflow of VizHub, showing how a web page loads D3 and integrates local ES6 modules. It uses D3 v5, imported via `select` from the `d3` package, to set the text content of a `div` element with the ID `message`. The text originates from a separate local module, `myMessage.js`, which exports the string "Hello VizHub!". The rendering is purely DOM-based, with an HTML file linking a CDN-hosted D3 script and a bundled JavaScript file, plus a CSS stylesheet to center the output.
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