data-space-transition
✓ Published0🌍 Public
11wheel
Last edited Mar 9, 2024
Created on Mar 9, 2024
Four animated transitions show how the same dataset—eight demographic groups with percentages—can be represented as rectangles and lines along a shared axis. A sliding vertical midpoint shifts between two values, with each transition morphing the visual encoding between bar lengths, path strokes, and interpolated rect tweens using d3 transitions. The SVG and canvas renderings cycle through these states on click, preserving color coding and axis labels. The code relies on d3 selections, transitions, and interpolators to animate the geometric transformations.
AI-generated description