Pie Plot

logo of a chart:Pie

A Pie Chart is a circle divided into sectors that each represent a proportion of the whole. It is one of the most common viz type, but also probably the most criticized. In python, they are most of the time done thanks to the pie() function of the Matplotlib library.

Matplotlib logoPie chart with Matplotlib

The examples below should guide you through the pie() function usage. It starts basics and then show how to add labels, customize colors and more.

🚨 Grab the Data To Viz poster!


Do you know all the chart types? Do you know which one you should pick? I made a decision tree that answers those questions. You can download it for free!

    dataviz decision tree poster