NPashaP
This example shows how labels can be created for the parts.
For more examples, check VizJS
Modified http://vizjs.org/viz.v1.1.0.min.js to a secure url
https://d3js.org/d3.v4.min.js
https://vizjs.org/viz.v1.1.0.min.js