Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates a minimal Hello World visualization using D3 v5 to display the text “Hello VizHub!” inside a centered HTML div. It shows how to load D3 via a CDN, import API functions like `select` from the library, and import local ES6 modules using `import` and `export`. The code sets the div’s text content with `select('#message').text(message)`, using a message string defined in a separate `myMessage.js` file and styled with CSS.
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