Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates a minimal “Hello VizHub!” application, rendering the message centered on the page using D3.js. It shows how to load D3 v5 from a CDN via UNPKG, use ES6 module imports to bring in the `select` function from the D3 library, and define custom local modules for sharing code. The visualization sets the text content of a `div` element with the id `message` using D3’s `select` and `.text` methods, styled by a separate CSS file. The data source is a simple hardcoded string from a local module.
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