Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates a minimal setup for integrating D3.js v5 within a VizHub project, showing how to load the library via UNPKG and use ES6 module imports. It imports the `select` function from the D3 package and a local `message` string from `myMessage.js`, then uses D3 to select the body element. The rendered output is a simple text message styled by CSS, with the code also illustrating local CSS import and script bundling through `bundle.js`.
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