Black Lives Matter. Please consider donating to Black Girls Code today.
Dash Enterprise delivers an incredible 21x cost savings 💸Download the e-book!

Coloring parallel categories diagram with counts in plotly express

Hi there. In plotly express, the bandwidth of each tile will be resized as the count, but how can we set the color of the coordinate tiles as the counts as well. Yes, I can group my data frame and set the color as the column of “count” but in this way, I cannot set the size of each tile.

Is there any way to scale and color the count of each categorical coordinates simultaneously without grouping?