Double input Test
✓ Published0🌍 Public
Aadry34160
Last edited Nov 4, 2016
Created on Nov 2, 2016
Two range sliders control the height and width of a blue-outlined rectangle centered in an SVG canvas. The visualization demonstrates how user input directly updates geometric attributes, with each slider labeled and displaying its current numeric value. Built with D3 v4, the code uses `d3.select` to attach `input` event listeners and `selectAll("rect").attr` to modify the rectangle’s dimensions and position. The rectangle’s center remains fixed as its size changes, with height and width adjusted independently via separate update functions.
AI-generated descriptionBuilt with blockbuilder.org
mit Licensed