Debounced slider
✓ Published0🌍 Public
Aanqi-lu
Last edited Nov 7, 2017
Created on Nov 7, 2017
Two parallel sliders demonstrate the visual difference between immediate and debounced drag updates. The gray slider updates a year-range caption on every pointer movement, while the red slider applies a 200-millisecond delay via `d3.drag` and a custom `delayedUpdatePlot` callback. Both use `d3.scaleTime` with a domain from 1997 to 2016, rendered as SVG rectangles and an axis. The example highlights how debouncing reduces update frequency during continuous interaction, using D3 v4’s event handling.
AI-generated descriptionBuilt with blockbuilder.org
mit Licensed