Skip to main content
100%

scale

✓ Published0🌍 Public
SSmith5mr
Last edited Feb 18, 2016
Created on Feb 18, 2016

A slider controls the domain of a linear scale, demonstrating how D3’s axis and grid components respond to changing input ranges. The visualization shows a horizontal grid with major, minor, and sub-minor tick lines in red and blue, while a separate black axis displays four major ticks. Dragging the slider updates the domain and redraws both groups via `d3.svg.axis()`. The SVG rendering uses crisp edges, with the grid background and tick styling defined in CSS. Data is generated on the fly from the slider’s numeric value, with no external dataset.

AI-generated description

Built with blockbuilder.org

Similar vizzes