All examples By author By category About

HarryStevens

Scale Bars for D3 Maps with Pan and Zoom

When zooming a map with d3-zoom, update the scale bar created with d3-geo-scale-bar to reflect the current zoom.