Plotly - Pie Chart

import plotly.offline as pyo import plotly.graph_objs as go labels = ['Mobile','Desktop'] values = [18778, 28168] data = [go.Pie(labels=labels, values=values, textinfo='none',showlegend=False)] fig = go.Figure(data=data) pyo.plot(fig,filename='pie_plots.html')
Plotly - Pie Chart

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.