Assignment-2_Question-1
✓ Published0🌍 Public
This example demonstrates basic VizHub functionality, showing how to integrate D3.js and local ES6 modules into a simple web page. It loads D3 via UNPKG and uses the `select` import to set the text of a `#message` div element to “Hello VizHub!”. The page also imports a custom `message` string from a separate `myMessage.js` module, highlighting modular code organization. Styles are applied through an external `styles.css` file, centering the large text. The visualization is minimal, focusing on setup and module imports rather than data 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