Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Pie chart with labels on slices

Hello, I want to generate a pie chart with the labels near the slices, instead of having a legend. The result should look like this:

Is there some option to modify the legend in this way?

Hi @aretor,

you can use textposition = 'outside'

It works, thanks. I want to add that in order to change the name of the labels the text property should be used.

Please, Are there any way to take out this text and let only in the tooltip and the legend?