mbostock/d3 — pull request #482 by mbostock (2012-01-30 03:25:21+00:00)
Title: Fix polygon.centroid for open polygons.

The implementation assumed closed polygons, but it should work on either. This
is a partial fix for #443.