Tutorial3.6
✓ Published0🌍 Public
This example demonstrates a minimal D3.js setup within a VizHub-based single-page structure. It uses D3 v5 loaded via UNPKG and the `select` API to target a single DOM element, setting its text content. The page imports a local ES6 module named `myMessage.js` to supply the text “Hello VizHub!”. The visualization shows a simple static centered message, styled via the included `styles.css`, serving as a baseline template for organizing D3 imports and local modules.
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