Fork of Hello VizHub
✓ Published0🌍 Public
This example displays the text “Hello VizHub!” inside a centered HTML element, demonstrating how to integrate D3 and local ES6 modules in a VizHub project. The code imports the `select` function from D3 via UNPKG and a custom `message` constant from a local module, using `select('#message').text(message)` to set the text. It also includes a stylesheet for the large, centered typography. The example serves as a minimal template for loading dependencies and structuring modular JavaScript code.
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