About discrete colorscale

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. :raised_hands: