Fork of Hello VizHub
✓ Published0🌍 Public
This example displays the message “Hello VizHub!” as large, centered text. It demonstrates how a D3 visualization project can load the D3 library from a CDN and use ES6 module imports. The code imports the `select` function from `d3` and a `message` string from a local `myMessage.js` module, then uses `d3.select` to set the text content of the `#message` div. The page’s styling is defined in an external CSS file.
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