Question #275375

Write a program in python with the help of Pie chart display population of 3 states.

Expert's answer

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()

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS