Activity6_Question2
✓ Published0🌍 Public
This example demonstrates the fundamental workflow of a VizHub project, loading D3 v5 through a CDN and importing both D3 functions and local ES6 modules. It shows how D3’s `select` function targets a DOM element to set text content, while a separate local module supplies the displayed message. The code also includes a CSS rule for centering and scaling the text, and initializes a numeric constant and a regular expression. The page renders a simple, large-format greeting.
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