tutorial task 9 and 10
✓ Published0🌍 Public
This example demonstrates a minimal VizHub setup that renders a simple text message. It shows how to combine a D3.js import with a local ES6 module to dynamically set the content of an HTML element. The code uses the `select` function from D3 to target the `#message` div and applies the text from the exported `message` constant. The page also includes CSS for centered, large-text styling and relies on D3 v5 loaded via UNPKG to illustrate basic import and module patterns.
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