Fork of Hello VizHub
✓ Published1🌍 Public
This example demonstrates a minimal D3.js setup that renders the text “Hello VizHub!” in large, centered type. It shows how to load D3 v5 from a CDN via UNPKG and structure an HTML page with a dedicated CSS file for styling. The code imports the `select` function from the `d3` package and a custom string from a local ES6 module, then uses `select('#message').text(message)` to update the page. It highlights import syntax, local module usage, and basic DOM manipulation with D3.
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