Activity6_Task3
✓ Published1🌍 Public
This example demonstrates the fundamental workflow of a VizHub project: importing D3 and local ES6 modules to manipulate the Document Object Model. The code uses D3’s `select` function to target a specific `<div>` element by its ID and set its text content to a string exported from a separate `myMessage.js` module. The visualization renders a static, centered text message with large font sizing defined in an external CSS file, showing how to structure code across multiple files for a simple but complete web-based data application.
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