Activity 6_Task 1
✓ Published0🌍 Public
This example demonstrates a simple text display using D3.js. It loads D3 v5 from a CDN and uses the `d3.select` API to target an HTML element by ID, setting its text content to a greeting message. The message itself is imported from a local ES6 module, showing how to mix external libraries with custom modular code. The page is styled with CSS, centering the large "Hello VizHub!" text.
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