Parent Data
✓ Published0🌍 Public
Mmbostock
Last edited Feb 9, 2016
Created on May 21, 2015
A test of hierarchical selections and parent data in D3 4.0, this example builds a 3×3 HTML table by chaining `selectAll` and `data` calls. The inner cells display their x- and y-coordinate labels, with the parent row data passed through the selection’s parent context. Rendered as SVG-independent DOM elements, it uses the d3-selection module’s `enter().append()` pattern, demonstrating how child selections inherit and access parent datum during data joins.
AI-generated descriptionA test of hierarchical selections and parent data, features in development for D3 4.0.
gpl-3.0 Licensed