🌍 Public
Viewing a saved revision (read-only)
8faf0a13cedd4cfe9cc8d105c6b3da5e
Fork of Hello VizHub
This fork of Hello VizHub demonstrates a simple data-binding example using D3 v7, where an array of three letters is mapped to span elements in the DOM. The code uses `d3.selectAll` with `.data()` and `.enter().append()` to create the spans, then `text()` to display each value. It also loads D3 twice via CDN scripts and includes commented imports for local ES6 modules, showcasing VizHub’s module loading capabilities alongside basic selection and binding patterns.
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.