In this chapter, we'll be use animation to make our graphs move. This can give your visualizations a more polished and professional feel.
In this section, we will cover the following topics:
- Creating an ordinal scale
- Creating a color scale
- Adding paths for each pie segment
- Generating an arc creating function
- Formatting the data for the arc
- Adjusting the position of the pie
- Making a donut graph
- Removing parts of the pie
The complete code for this section can be found at https://github.com/PacktPublishing/D3.js-Quick-Start-Guide/tree/master/Chapter06.