Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates basic D3.js text manipulation and ES6 module imports within the VizHub environment. It uses the `select` function from D3 v5 to populate a `div#message` element with a greeting string. The greeting originates from a separate local module, `myMessage.js`, highlighting how VizHub supports modular code organization. The page loads D3 via UNPKG and applies custom styling through an external `styles.css` file, showing a simple, complete visualization scaffold.
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