Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates a minimal D3.js visualization that renders a static text message, "Hello VizHub!", centered on the page. It shows how to import the `select` function from D3 v5 via UNPKG, along with a local ES6 module that exports the message string. The code uses `select('#message').text(message)` to update the DOM, with styling applied through an external CSS file. The visualization highlights the basic module loading and DOM manipulation workflow 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