Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates a minimal D3.js setup within VizHub, displaying the text “Hello VizHub!” centered on the page. It shows how to import the `select` function from the D3 library via ES6 modules and load D3 v5 from a CDN. The code also includes a local module, `myMessage.js`, which exports the displayed message, and uses CSS to style the text with a large font size. The rendering approach relies on D3’s selection API to update the DOM.
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