Activity6_Task2
✓ Published1🌍 Public
This example demonstrates how to integrate D3.js v5 into a VizHub project using ES6 modules. It loads D3 from a CDN and uses the `select` function to update the text content of a `div` element. The visualization also shows the import of a local ES6 module, `myMessage.js`, which exports a string variable, and applies styling through an external CSS file. The code is a minimal scaffolding example illustrating modular code organization with D3 and local ES6 imports.
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