Activity-6Tutorial-3
✓ Published0🌍 Public
This example demonstrates a minimal VizHub project that renders a centered “Hello VizHub!” message using D3.js. It shows how to load D3 v5 from UNPKG, import the `select` function from the `d3` module, and use a local ES6 module (`myMessage.js`) to supply the text content. The code sets the text of a `div` element via `select('#message').text(message)`, with styling applied through an external CSS file. No data source is used; the visualization is purely text-based.
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