Activity6_Task2
✓ Published0🌍 Public
This example demonstrates a minimal “Hello VizHub!” message rendered in large, centered text on a web page. It shows how a D3.js project can be assembled with VizHub, loading the D3 library from a CDN and using a custom ES6 module for the message content. The code imports the `select` function from D3 via `import { select } from 'd3'` and uses it to set the text content of a `#message` div element. A separate `myMessage.js` file exports a constant string containing the greeting.
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