Activity 6_Task 2
✓ Published0🌍 Public
This example demonstrates VizHub’s basic scaffolding for a D3-based visualization. It imports a local ES6 module to define a message string and uses D3’s `select` to set the text of an HTML `div` element. The page loads D3 v5 from a CDN and includes a CSS file, illustrating how external libraries and local styles integrate. The code shows a minimal reactive setup with no data or interactive elements.
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