Matplotlib Tutorial 6 – Pie Chart
[ad_1]
This matplotlib tutorial shows how to plot pie chart. For home expenses, I’ll plot individual expense items as a pie and will show how you can use different properties such as autopct, explode, radius, shadow etc to create beautiful looking pie charts
Topics that are covered in this Video:
0:00 Introduction
0:55 Plot a pie chart
1:32 plt.axis()
2:01 Increse redius of chart
2:32 Autopct argument to show percentage
3:44 Explode argument
4:55 startangle argument
Code link: https://github.com/codebasics/py/blob/master/matpltlib/6_pie_chart/6_pie_chart.ipynb
Next Video:
Matplotlib Tutorial 7 – Save Chart To a File Using savefig: https://www.youtube.com/watch?v=XLJHkCn48lM&list=PLeo1K3hjS3uu4Lr8_kro2AqaO6CFYgKOl&index=7
Populor Playlist:
Data Science Full Course: https://www.youtube.com/playlist?list=PLeo1K3hjS3us_ELKYSj_Fth2tIEkdKXvV
Data Science Project: https://www.youtube.com/watch?v=rdfbcdP75KI&list=PLeo1K3hjS3uu7clOTtwsp94PcHbzqpAdg
Machine learning tutorials: https://www.youtube.com/watch?v=gmvvaobm7eQ&list=PLeo1K3hjS3uvCeTYTeyfe0-rN5r8zn9rw
Pandas: https://www.youtube.com/watch?v=CmorAWRsCAw&list=PLeo1K3hjS3uuASpe-1LjfG5f14Bnozjwy
matplotlib: https://www.youtube.com/watch?v=qqwf4Vuj8oM&list=PLeo1K3hjS3uu4Lr8_kro2AqaO6CFYgKOl
Python: https://www.youtube.com/playlist?list=PLeo1K3hjS3uv5U-Lmlnucd7gqF-3ehIh0
Jupyter Notebook: https://www.youtube.com/watch?v=q_BzsPxwLOE&list=PLeo1K3hjS3uuZPwzACannnFSn9qHn8to8
Website: http://codebasicshub.com/
Facebook: https://www.facebook.com/codebasicshub
Twitter: https://twitter.com/codebasicshub
Source
[ad_2]
Very Good Explanation!!
Had a small query, can we create dynamic pie charts and export them to excel using matplotlib ?
Far better …explanation
Contents aren't visible.
you did it again sir! what I like about your tutorial is you explain it in the VERY BASIC WAY! Where us beginners can fully understand them keep it that way sir =) a lot of people here on youtube try to search things cause at first they don't know how to do stuffs, just like me π THANK YOU SO MUCH! YOU'RE MY NUMBER ONE YOUTUBER THAT I RELY ON EVERYTIME I WANT TO DO STUFFS IN PYTHON. GOD BLESS YOU
I'm trying to find a tutorial on matplotlib and visualizing results and here you are again!
YOU'RE THE NUMBER 1 YOUTUBER I ALWAYS RELY ON , ESPECIALLY IN THIS KIND OF MATTER LIKE IN PYTHON, MACHINE LEARNING AND VISUALIZATION HAAH THANK YOU π
Pls…code on github can't be loaded..something wrong !!!
not so good
Good explanation. I tried all and it worked. π
Good
great work bro the tutorials are really awesome
I am facing an error "str object not callable". While adding the axis("equal") line. Can you help me with this?
Hi π Is it possible to put values instead of percentages in the pie chart ?
need a video on "Kernel Density Estimation Plots"
A Seaborn series would be nice!
Great:)