Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates how to load D3 from a CDN and use ES6 module imports to build a minimal visualization. It renders a single div element that displays the text “Hello VizHub!” in large, centered type via the accompanying stylesheet. The code imports the `select` function from D3 v5 and a local `message` constant from an ES6 module, then uses `select('#message').text(message)` to populate the page. This serves as a simple template for combining D3 with modular JavaScript in a VizHub project.
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