Activity 6
✓ Published0🌍 Public
This example embeds a large JPEG image inside an SVG, where it is applied as a pattern fill for a rectangle to create a framed photograph. Using D3 v5 via UNPKG, the code imports `select` to set a text message, while local ES6 modules export string content, demonstrating modular JavaScript.
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