Pie chart to donut chart

HI , I’m trying to create donut chart using given example https://gojs.net/latest/samples/dynamicPieChart.html , how to achieve using existing code. Is there any method for this.