🌍 Public
Viewing a saved revision (read-only)
4c5dcb1728c740099eb1d5d515022bb2
Activity 6
This example displays the text “Hello VizHub!” centered on the page, serving as a minimal demonstration of VizHub’s core capabilities. The code loads D3 v5 from UNPKG and uses the `select` function to target the `#message` div, setting its text content. It also illustrates importing local ES6 modules via `myMessage.js` and includes a CSS file for styling. The visualization itself is static, with no data processing or interactive elements.
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.