🌍 Public
Viewing a saved revision (read-only)
d10d690baef148f48e5ca66b3a1a9548
IRIS_Visualization
This example demonstrates how to build a minimal HTML page using D3.js, displaying the text “Hello VizHub!” in large, centered type. The code imports the `select` function from D3 and a local ES6 module exporting a message string. It loads D3 via UNPKG and uses `select('#message').text(message)` to update the DOM, showing basic module imports and DOM manipulation with D3 v5.
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.