Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates how VizHub supports integrating D3.js with ES6 modules, displaying a simple “Hello VizHub!” message in a styled div. It loads D3 v5 from UNPKG and uses the `select` API to update the text content of an HTML element. The code also showcases importing local modules, such as `myMessage.js`, and includes CSS styling for centered, large text. The example serves as a minimal template for combining D3, modular JavaScript, and external libraries in a browser environment.
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