Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates the minimal setup required to render a text message using D3 within the VizHub environment. It loads D3 v5 from UNPKG and displays the string “Hello VizHub!” centered via CSS. The code uses an ES6 module to export the message string, which is then imported and appended to the DOM using D3’s selection API. The page consists of an index.html file, a local stylesheet, and a separate JavaScript module to illustrate modular code organization.
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