This demonstrates using topojson.merge, a new feature in TopoJSON 1.6, to merge multiple polygons into a single polygon whilst removing interior borders. (An alternative approach is to draw the polygons twice.)
This example is in response to a Stack Overflow question.
How can I find the centroid of a merged shape?