activity 6_Task 1
✓ Published0🌍 Public
This example demonstrates how to integrate D3.js with local ES6 modules in a VizHub project. It loads D3 version 5 from a CDN and uses the `select` API to update the text content of a `<div>` element based on a message imported from a separate module. The page also includes a CSS stylesheet for styling, and the code defines a regular expression and a constant, serving as a minimal scaffold for building interactive visualizations.
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