Write a program in python with the help of Pie chart display population of 3 states.
import plotly.graph_objects as go
labels = ['Europe','Asia','Africa','America', 'Australia']
values = [423424335, 250234352530, 2342345, 34435345, 2344543]
fig = go.Figure(data=[go.Pie(labels=labels, values=values)])
fig.show()
Comments
Leave a comment