All examples By author By category About

mbostock

Axis Component

This example demonstrates D3’s new axis component, which makes it easy to add reference lines and labels to a custom visualization. The axis component even supports automatic transitions! Click on the area to change the scale and watch as new ticks smoothly replace the old ones. Built with D3.