MyDragSlider
✓ Published0🌍 Public
QQ-Zhao
Last edited Oct 16, 2017
Created on Oct 16, 2017
The graphic displays a draggable slider that controls the background color of the SVG canvas, with a shaded track, tick marks, and a circular handle. Dragging the handle changes its horizontal position along a linear scale from 1990 to 2014, and the background hue updates to a corresponding HSL color. This example uses d3.v4, SVG elements, and the `d3.drag()` API to handle pointer interactions, while the slider’s track and ticks are built with standard D3 selection and scale methods.
AI-generated descriptionBuilt with blockbuilder.org
forked from <a href="https://bl.ocks.org/mbostock">Mike Bostock</a>'s block <a href="https://bl.ocks.org/mbostock/6452972">Drag Slider</a>.
mit Licensed