Hi i need to create a chart like the image below. I create a pie chart with a hole but i am unable to set one value because i couldn’t find a way to set the value as percentage. If i give just one value library automatically calculates as %100.
Another question; is there a way to show the values outside in a pie chart with a line like the image below? I know i can set the position as outside but it doesn’t draw lines.
Hey @ahmetb, although this might come a bit late, I recently encountered this issue and discovered a solution, which I’d like to share for anyone who might find it useful in the future.
You can achieve the desired outcome in the first case by using Plotly Graph Objects’ hole property and annotations in Python. Here’s an example code snippet: