🌍 Public
Viewing a saved revision (read-only)
abfed3f02ec047609da69b08279d50a1
Fork of Blank Slate with Hot Reloading
This example presents an interactive range slider built with D3.js (version 7) and rendered as SVG. Two draggable circular handles on a horizontal track allow users to select a numeric interval between 0 and 100, with the current selection displayed below. The slider uses `d3.scaleLinear()` to map data values to pixel positions and `d3.drag()` to manage handle movement, constraining positions within the track and preventing handle overlap.
AI-generated description