Fork of Fork of Fork of Activity 7
✓ Published0🌍 Public
This example demonstrates a minimal D3.js visualization displaying the text “Hello VizHub!” in large, centered type. It illustrates the basic setup for a VizHub project, including loading D3 via a CDN and using local ES6 modules. The code imports the `select` function from `d3` to target the `#message` div and applies the text from a separate `myMessage.js` module. A stylesheet controls the typography and alignment, with the page structure defined in `index.html`.
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