🌍 Public
Viewing a saved revision (read-only)
1680d9e0f12446bc8669d3058d449044
ReporteAutos
This example displays the text “Hello VizHub!” centered in a large font. It demonstrates the fundamental setup of a VizHub project: loading D3 v5 from UNPKG, importing the `select` function from the D3 module, and importing a custom message from a local ES6 module (`myMessage.js`). The code uses `select('#message')` to target the HTML div and set its text content, while `styles.css` handles the visual styling. The data source is the static string defined in the local module.
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.