Does any one has any idea how to create discreate color scale? I mean how we assign colors to boxes[rectangles] depending on data range?
Hello @rohini31 welcome to the forums.
Thereβs a lot of general information about this already available:
https://community.plotly.com/search?q=discrete%20colors%20order%3Alatest
If you need more information, please let us know what exactly you are trying to to.
I landed on this question while having to figure this out myself so I wrote a quick blogpost How to create custom continuous and discrete colorscales with Plotly.js
1 Like