d3-course001-hello-vizhub
✓ Published0🌍 Public
This example demonstrates a minimal D3.js setup within VizHub, displaying the text “Hello VizHub!” in the center of the page. It loads D3 v7 via UNPKG and uses the `select` method to target a `div` by its ID. The code also imports a local ES6 module (`my-message.js`) to source the displayed string, highlighting how to combine CDN-hosted libraries with modular JavaScript. Styling is applied through an external CSS file.
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