See https://codepen.io/etpinard/pen/arVVpg  for `pie` traces, `funnelarea` traces behave similarly. Potential solution: - split the legend item square into two halves (in general into N parts), one half with the pie color, the other with funnelarea color More info: https://github.com/plotly/plotly.js/pull/3876#discussion_r286097769