block by fil da021023d58b8ddefd165c65e37f796b

Polylabel with D3

Full Screen

Testing @mourner’s polylabel with D3.

Orange dot = country centroid; white dot = polylabel of the projected polygon (or largest projected polygon in case of MultiPolygons).

See the variant: elliptic / scaled polylabel.

TODO :

Built with blockbuilder.org, base map by @mbostock.

index.html

polylabel.js