Activity 6_Task 4
✓ Published0🌍 Public
This example demonstrates how to integrate D3.js within a web page to dynamically display text. It uses the `d3.select` API to target an HTML element and update its content with a message imported from a local ES6 module. The visualization loads D3 from UNPKG and shows a simple pattern for combining external libraries with modular JavaScript code. The rendered output is a centered greeting, styled via a linked CSS file.
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