'Is it possible to format the percentage display label to round to the tenths place in Apache Superset?

I need to have the percentage labels for my pie chart display to the tenth place (ie 25.0% rather than 25%). Is there a way to make this happen in apache superset? I know you can set d3 formatting elsewhere but I don't see anywhere to do it for pie chart labels.

pie chart with rounded percentages



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source