HelloVizhub
✓ Published3🌍 Public
This example demonstrates how to set up a minimal D3.js visualization within VizHub, rendering the text “Hello VizHub!” in a centered, large-font message. It loads D3 v5 from a CDN and uses the `select` API from the `d3` module to target a `div` element by ID and set its text content. The project also showcases ES6 module imports, pulling a message string from a separate local file, `myMessage.js`, and linking a local stylesheet for styling.
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