Fork of Hello VizHub
✓ Published27🌍 Public
This example demonstrates a minimal setup for a D3-based web page in VizHub, showing how to integrate external libraries and modular code. It renders the text “Hello VizHub!” into a div element using the `d3.select` API, with text content sourced from a local ES6 module via an `import` statement. The page loads D3 v5 from UNPKG and applies centered, large-font styling through a CSS file. The code also includes placeholder JavaScript expressions, such as a regex and a numeric constant, to illustrate syntax handling.
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