🚀 Gen 5 of the leading AI app deployment platform launches October 6. Click for the livestream.

Pie Chart Legend Cutting off Labels

No matter what I try (automargin within data, manual margin within layout, moving over the legend manually), the legend sits on top of long labels at the bottom of the chart.

  • I’d really like to not put the legend at the top of the pie chart (I also don’t know if a top label on the pie chart would get cut off by a to* p-positioned legend).
  • I can’t use a vertical legend because my labels can get really long (like Mortgage Real Estate Investment Trusts (REIT)).
  • Lastly, I don’t want to separate the legend from the chart because it would disable the interactivity with the pie chart which my users use.

Here’s a demo of what I mean:

Is there any way that labels can work nicely with the legend in pie charts in a scaleable way (i.e. no overlapping when long labels, more pie pieces (and thus larger legend), etc.)?