Activity6_Q1.1
✓ Published0🌍 Public
This example demonstrates the basic capabilities of VizHub, rendering the text “Hello VizHub!” in large, centered type within a web page. It shows how to integrate the D3.js library (version 5) directly from a CDN and how to import specific functions, such as `select`, for DOM manipulation. The code further illustrates the use of local ES6 modules, importing a text message from a separate `myMessage.js` file. The appearance is styled through a linked CSS file, defining the text alignment and font size for the display.
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