Plotly charts - Tree map functionality using 2 parameters

0
Hi, I am trying to create a treemap with colorscale using Plotly charts. My requirement is to display the treemap using Margin value and should display colorscale using Sales value. Is it possible to show 2 different parameters in Treemap?  Example: my value to show box is margin value where as the scale on the plot show the variations with sales values (margin value and sales value exists in same object) I want to show like this  
asked
0 answers