All examples By author By category About

wqm9425

Pie Centroid

The black dots show the midpoint computed by d3-shape’s arc.centroid. Note that this is not the geometric center of the arc, which may be outside the arc; this method is merely a convenience for positioning labels.

forked from mbostock's block: Pie Centroid

forked from anonymous's block: Pie Centroid