activity_6_task2
✓ Published1🌍 Public
This example demonstrates a minimal "Hello VizHub!" webpage that uses D3.js to populate a message container and an ES6 module to supply the text content. It loads D3 v5 via a CDN, then imports the `select` function from `d3` and a local `message` constant. The `select('#message').text()` method dynamically sets the HTML element’s text, while a CSS file centers the text at a large font size. The visualization highlights basic integration of external libraries and modular JavaScript in a simple, static output.
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