🏥 🏭 Working on the COVID-19 response in Canada? Plotly & the Canadian government can help you and your organization. Learn more and get in touch.

Legend performance in all charts

Hi,
I have a UI where the user can choose any chart type. If there are like 1000 data points and the user chooses a pie chart, the legends take up so long to load and the UI hangs because of too many text objects. Is there a way to improve the performance of the legend rendering? Or can we render only the first 100 legend labels or something like that?