Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello VizHub

Public visualization

Viewing a saved revision (read-only)

8faf0a13cedd4cfe9cc8d105c6b3da5e

Fork of Hello VizHub

0 stars0🌍 Public
Zzhennyboy
Last edited Feb 6, 2023
Created on Feb 6, 2023
Forked from 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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.