Data, Data Science, Data Analysis, Python, Analytics.
donut chart fig = go.Figure(data=[go.Pie(labels=percent_by_region.index, values=percent_by_region, hole=.3)]) # Updating the chart's appearance fig.update_traces(textinfo='percent+label', marker=dict(colors=['#636EFA','#EF553B','#00CC96','#AB63FA','#FFA15A'], line=dict(color='#FFFFFF', width=2))) #