Hello VizHub
✓ Published0🌍 Public
This example demonstrates how to set up a minimal VizHub project that loads D3.js via UNPKG and uses ES6 modules. It shows D3’s `select` function targeting a div with the ID `message` to update its text content, while a local module exports the string being displayed. The page renders static text through a combination of external library imports and a local `myMessage.js` file, with CSS centering the large-font 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