🌍 Public
Viewing a saved revision (read-only)
74f830e8b69b4a478fbf3eb47e864887
Fork of Hello VizHub
This example displays the text “Hello VizHub!” in large, centered type within a styled div. It demonstrates basic D3.js usage by importing the `select` function from the D3 module via UNPKG and using it to set the text content of the `#message` element. The code also showcases local ES6 module imports, pulling a string constant from `myMessage.js`. The rendering relies on D3 v5 alongside custom CSS for typography and alignment.
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.