All examples By author By category About

johan

Axis Component

This example demonstrates D3's new d3.svg.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, or zoom in and out via the mouse scroll wheel or touchpad scroll gesture. Built with D3.js.