Ordinal Tick Filtering
✓ Published0🌍 Public
Mmbostock
Last edited Jul 31, 2019
Created on Jul 31, 2012
This example demonstrates how to reduce clutter on an ordinal axis by selectively showing only every other tick label. The visualization renders an SVG axes with 52 letter-based categories, using `d3.scale.ordinal()` and `d3.svg.axis` with `.tickValues()` to filter the displayed ticks. The chart is generated with D3 v3, drawing black axis lines and labels in a plain HTML page.
AI-generated descriptionAn example of filtering ticks on an ordinal axis.
gpl-3.0 Licensed