Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates a minimal D3.js web page that displays the message “Hello VizHub!” centered in a large font. It loads D3 from the UNPKG CDN and uses the `select` function from the `d3` library to set the text content of a `div` element. The example also imports a local ES6 module, `myMessage.js`, to supply the message string, and uses a linked stylesheet, `styles.css`, to control the text’s alignment and size. The code highlights basic D3 selection and DOM manipulation without any data or complex rendering.
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