Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates the minimal structure of a VizHub visualization, showing how to load D3 and display a text message on a web page. It combines D3's `select` API with a local ES6 module export to set the content of an HTML `div` element. The code imports `select` from D3 and a `message` string from a separate local module, then applies that message as the element’s text. Styling is handled via a linked CSS file, and D3 is sourced from UNPKG.
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