🌍 Public
Viewing a saved revision (read-only)
defddcd937eb4f86a297e6989bbf152d
activity6_task3.1
This example demonstrates a minimal D3.js visualization that displays a static text message, “Hello VizHub!”, centered on the page. It shows how to structure a basic VizHub project by loading D3 v5 from a CDN via UNPKG and importing local ES6 modules. The code uses `d3.select` to target the `#message` div and sets its text content from an imported module. The visualization relies on simple HTML and CSS for styling, with no data source or dynamic rendering involved.
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.