Fixed size slider
✓ Published0🌍 Public
Aandrewcowley
Last edited Sep 4, 2018
Created on Sep 4, 2018
A line chart displays 200 randomly generated data points, where the y-values follow a normal distribution. A fixed-size brush selection highlights a narrow range of data, and the brush can only be dragged horizontally, not resized. The visualization uses D3 v4 with `d3.brushX` to create the slider, while the chart itself is rendered as an SVG path via `d3.line`. The code removes the brush handles and overlay to enforce the fixed selection size.
AI-generated descriptionLine chart with fixed size slider. Slider can only be moved from side to side.
forked from <a href='http://bl.ocks.org/EfratVil/'>EfratVil</a>'s block: <a href='http://bl.ocks.org/EfratVil/5edc17dd98ece6aabc9744384e46f45b'>Fixed size slider</a>
mit Licensed