SVG 123
✓ Published0🌍 Public
This example shows a simple webpage displaying the text "Hello VizHub!" centered on the screen. The visualization demonstrates the basic structure of a VizHub project, including how to import D3.js from a CDN and how to use local ES6 modules. The code uses D3's `select` API to target the HTML element with the ID `message` and set its text content. A separate `myMessage.js` module exports the string that is displayed, and basic CSS styling is applied through `styles.css`.
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