11697708-Assignment 2
✓ Published0🌍 Public
This example demonstrates a minimal "Hello VizHub!" message rendered in large text, centered on the page. It shows how to set up a basic D3.js project using D3 version 5.16, loaded from UNPKG, and how to integrate local ES6 modules. The code uses the `select` function from D3 to target the `#message` div and set its text content, while a separate `myMessage.js` module exports the string constant. The styling is handled via an external CSS file, and the implementation relies on the D3 API and standard HTML DOM manipulation.
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