Activity 6
✓ Published1🌍 Public
This example demonstrates how to set up a minimal VizHub project using D3.js and ES6 modules. It uses the `select` function from D3 to target a `<div>` element and update its text content with a message imported from a local module. The page loads D3 v5 from UNPKG, with styling applied via an external CSS file. The rendering is static, showing an ES6 module loading and D3 DOM manipulation rather than any data-driven visualization.
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