hi Erik
hey well done you've put in a good effort to produce this d3 chart.
this is a good way to represent the data with a clear balanced look although some of the labels are upside down naturally.
it was good of @Guerino1 to suggest you could perhaps adapt code from d3 Sunburst chart.
because it would be great if your Donut chart could expand and collapse the segments.
say if you had a few dozen instruments in an Orchestra then your initial chart acts as the 'Contents' page.
and then clicking the 'Strings' or 'Drum' wedge or any segment can expand to show all the instruments in that section of the Orchestra.
Sunburst does this and allows you to drill down in the chart when you click any segment.
and it has 'alt tips' on hover that show the labels which don't fit on the smaller segments.
those might be some features from d3 Sunburst chart that you could possibly add to your d3 Donut chart in a future release.