© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
A. PajankarHands-on Matplotlibhttps://doi.org/10.1007/978-1-4842-7410-1_9

9. Pie and Polar Charts

Ashwin Pajankar1  
(1)
Nashik, Maharashtra, India
 

In the previous chapter, you learned how to visualize and process images and audio with Matplotlib and SciPy.

In this chapter, you will learn how to create pie and polar charts with Matplotlib.

Pie Charts

Let’s learn the basics of the pie charts first. As the name indicates, a pie chart is a circle that is divided radially depending on the data. Imagine an apple pie or a pizza cut into slices. A pie chart fits that description well; however, unlike pizza or pies, which are usually divided symmetrically, a pie chart ...

Get Hands-on Matplotlib: Learn Plotting and Visualizations with Python 3 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.