In this video I will show you how you can make pie chart in just 5 lines in python
Do watch the full video
Code: __________________________________________________________
from matplotlib import pyplot as plt
values = ['30','20','40','10']
names = ['a','b','c','d']
plt.pie(values,labels=names)
plt.show()
_____________________________________________________
Make sure to subscribe the channel for more cool tutorials!
Number Guessing game in Python: • Python Number game tutorial | Python ...
Simple python while loop patterns in 3 minutes: • Understand python while loop with the...
Simple Navigation Bar tutorial using HTML and CSS: • Navigation bar using pure HTML CSS | ...
Check out other tutorials too!
Matplotlib tutorial
python matplotlib
python projects
python mini projects
cool python projects
python projects for beginners
python for beginners
graph in python
#coding #python #programming #pythonprojects #pythonforbeginners