All examples By author By category About

curran

Country Centroids on a Map

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 blockbuilder.org

web counter