A donut chart is essentially a Pie Chart with an area of the center cut out. However, it is much more appreciated on a data viz point of view, as explained in the dataviz catalog.

You can do it with python and the matplotlib library. Its construction relies on the use of the plt.pie function. Then, add a circle at the center or play with the radius and width arguments.

A more generic function to build donut plots would be welcome so do not hesitate if you know one!

  • Sponsors

  • Matplotlib