block by HarryStevens fdf207fcb3f318288c0dbef3ec7d3ee8

Major Tweenage

Full Screen

Transform a collection of geojson features into squares and back again.

This block uses several functions from d3-geo and MapBox’s polylabel algorithm to intelligently position the labels.

For more map tweening, see this block and this block.

index.html

polylabel.js