Activity6
✓ Published1🌍 Public
This example demonstrates a minimal D3.js setup within VizHub, displaying the text “Hello VizHub!” centered in a large font. It shows how to load D3 via CDN, import specific functions like `select` using ES6 modules, and import a local module for the message string. The code uses `d3.select` to set the text content of the `#message` div, with styling applied via CSS. It serves as a template for combining external libraries and local modules in a web-based visualization project.
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