Fork of Hello VizHub
✓ Published1🌍 Public
This example demonstrates a minimal D3.js setup through the VizHub platform, displaying the text “Hello VizHub!” centered on the page. It loads D3 v5 from a CDN via UNPKG and uses the `select` API to target the `#message` div, setting its text content. The code also showcases importing local ES6 modules, specifically bringing in a `message` constant from `myMessage.js`, while an external stylesheet handles the visual formatting.
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