Activity8 Task3
✓ Published1🌍 Public
This example demonstrates a simple text display that outputs the message “Hello VizHub!” centered on the page. It shows how to load D3.js from a CDN and combine it with local ES6 modules for code organization. The visualization uses D3’s `select` method to target the `#message` div and set its text content, while CSS styles control the font size and alignment. The data source is a static string exported from a separate module, illustrating modular structure within a minimal D3 setup.
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