Back to library
Preview of d3-geo-scale-bar
GitHub

Data Visualization & Charts · D3 plugins

d3-geo-scale-bar

Generates correct scale bars for projected geospatial data, accounting for distortion at the bar's location.

Why it’s a gem

Most web maps ship a scale bar that is quietly wrong; this one isn't

Visit github.com
Type
GitHub repository
License
MIT
Added
Aug 17, 2026

More from D3 plugins