block by rveciana bef48021e38a77a520109d2088bff9eb

Label positioning with svg-path-properties

Full Screen

This example shows how to use svg-path-properties and d3-marching-squares to draw isolines on a map and label them each certain number of pixels.

There are some issues left, such as avoiding label overlapping.

Read this other block for explanations about the used data and the isolines.

index.html

path-properties.min.js