Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Checking for Ampersands

Public visualization

Viewing a saved revision (read-only)

3c10811f5d4e41009d3940c24fc9a74f

Checking for Ampersands

0 stars0🌍 Public
Cchris.shimotake@gmail.com
Last edited May 3, 2024
Created on May 3, 2024
Forked from Data Joins

Two SVG canvases demonstrate D3 data joins and selections. One canvas shows circles appended with fixed attributes, while the other begins with hard-coded rectangles that are re-selected, recolored red, and repositioned. The example then binds a small array of country weight objects to empty selections, joining circles whose radius and x-position derive from data properties. D3’s `select`, `selectAll`, `data`, `join`, and `attr` methods handle the DOM updates, with data transformations like doubling weights performed in plain JavaScript before rendering.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.