Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates the modular structure of a VizHub project, showing how D3.js and local ES6 modules work together to render a simple text message. It uses D3 v5 loaded via UNPKG, with the `select` function from D3 to target the `#message` div and set its text content. The message itself comes from a separate local module, `myMessage.js`, which exports the string "Hello VizHub!". Styling is handled by CSS, centering the text at a large font size.
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