mbostock/d3 — pull request #952 by jasondavies (2012-12-09 20:53:02+00:00)
Title: Add d3.geo.area.

See #941.

Next I'll look at using a version of this for accurate CCW detection. It's not a straightforward application of this code since we actually want to detect when a ring goes around the antipodal point at the same time, but I think this is possible to do if the area is calculated relative to the antipode rather than the South Pole.

Then… area-weighted polygon centroids. :)