Ruler
✓ Published0🌍 Public
WWanagram
Last edited Feb 18, 2016
Created on Feb 18, 2016
A horizontal ruler visualization displays a 10,000-unit linear scale with multiple tick layers of varying precision. The chart uses a gray background rectangle and three nested grid groups, each rendering ticks at different intervals (100, 20, and 10 ticks) with progressively larger tick sizes. Built with D3 v3, it creates SVG axes via `d3.svg.axis()`, scales with `d3.scale.linear()`, and hides axis labels and minor grid text. Tick data is filtered using `.exit()` to classify minor ticks, producing a clean, ruler-like appearance.
AI-generated descriptionBuilt with blockbuilder.org