block by curran 55d327542393530662c3

Country Centroids on a Map

Full Screen

This example shows one way to plot the centroids of geometies using d3.path.centroid. You can also pan and zoom.

The idea here is to provide a starting point for sized donut charts, or Polar Area Small Diagrams, for all countries, on a map. The centroids however are not quite right. The US looks off-center, skewed I suppose by Alaska.

forked from mbostock‘s block: Equirectangular (Plate Carrée)

forked from curran‘s block: Invitations Links Map

Built with

web counter