Fork of activity_6_task2
✓ Published0🌍 Public
This example demonstrates the fundamental workflow of VizHub, showing how a project imports D3 via UNPKG and local ES6 modules. The code uses D3’s `select` function to target the `#message` div and set its text content to “Hello VizHub!”, while the message itself is imported from a separate local module. The page layout is styled with CSS, centering the text at a large font size. It serves as a minimal, clear template for combining external library imports, modular JavaScript, and styling in a single visualization gallery entry.
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