This is the first “Animal Donut Chart” example of the Blog Placing Texts on Arcs with D3.js in which the texts are placed at the start of each arc. All without writing the SVG path notations yourself.
Other examples of text along a path from the same blog