Fork of Fork of Untitled
✓ Published0🌍 Public
This example demonstrates a simple ES6 module and D3.js setup within VizHub, displaying the text “Hello VizHub!” centered on the page. It loads D3 via UNPKG and uses the `select` function from D3 to set the text content of a `#message` div. A local module, `myMessage.js`, exports the string, which is imported in `index.js`. The styling is defined in an external CSS file for large, centered 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