Black Lives Matter. Please consider donating to Black Girls Code today.

Importing a pie chart to dashboard

Is there anyway to import a pie chart made using matplotlib to dash app?

Hi @arjun, welcome to the forum! Sure you can save a matplotlib graph as a png image and include it in your Dash app using html.Img. Alternatively, for interactive graphs (with hover etc.) you can take a look at plotly’s pie charts https://plot.ly/python/pie-charts/

Thank you. Also is there any way of plotting pie chart using pie charts using dash.plotly directly? I did’nt seem to find anything regarding integrating a pie chart into the code anywhere?

@arjun
Do you mean something like this Pie Chart in Dash