Fork of Hello VizHub
✓ Published1🌍 Public
This example displays the text messages “Hello VizHub!” and “Good” in large, centered text using D3.js. It demonstrates loading D3 v5 from UNPKG and using ES6 module imports, including a local module that exports the message strings. The code uses `select` from `d3` to target the `#message` and `#look` divs in the HTML and set their text content via the `text` method. Styling is applied through an external CSS file.
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