Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates a minimal D3.js visualization that renders the text “Hello VizHub!” inside a centered HTML div. It shows how to combine a modern ES6 module structure with a library loaded from a CDN, importing the `select` function from D3 and a custom string from a local `myMessage.js` module. The code uses `select('#message').text()` to update the DOM, with styling defined in `styles.css` for large, centered typography. It serves as a foundational template for building interactive visualizations within the VizHub platform.
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