
上QQ阅读APP看书,第一时间看更新
Animating SVG elements to create an interactive pie chart
In this chapter, we'll learn how to make a pie chart:
Then we'll turn it into a donut chart:
And then we'll create functionality so that the user can remove a section of the chart and it will close the gap with a smooth transition:
The completed code for this section can be found here: https://github.com/PacktPublishing/D3.js-Quick-Start-Guide/tree/master/Chapter06.