Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates how to build a minimal visualization with D3.js, displaying the text “Hello VizHub!” in the center of a webpage. It shows the fundamental workflow of a VizHub project, including importing D3 functions and local ES6 modules. The code uses `import { select } from 'd3'` to target the message div and set its text content, while an external stylesheet controls font size and alignment. The page loads D3 from UNPKG via script tag and outputs the final result through `bundle.js`, making it a complete but basic starting template.
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