Act 6.2
✓ Published0🌍 Public
This example displays a simple web page with the text “Hello VizHub!” centered and enlarged via CSS. It demonstrates the basic workflow of a VizHub project by loading D3.js from a CDN and importing both a D3 API function and a local ES6 module. The code uses `select` from D3 to target a div element and sets its text content using a string exported from `myMessage.js`. The visualization itself is minimal, focusing on how D3 and local modules integrate within an HTML page.
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