TD Hello VizHub
✓ Published0🌍 Public
This example demonstrates how to structure a minimal D3.js visualization project in VizHub, displaying the text “Hello VizHub!” in a large, centered font. It shows a complete workflow: loading D3 from a CDN, importing individual `select` from the D3 library, and using a local ES6 module (`myMessage.js`) to supply the text content. The code relies on the `d3.select` API to target a `div#message` element and set its text, while CSS handles the styling. No data manipulation or computing is involved; the focus is on module imports and embedding D3 efficiently.
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