Color Range from Area size

I’m trying to create a heatmap based on the area of the rooms in my project, where larger areas are assigned more intense colors. Everything works fine until I reach the “Color Range” node, where I get stuck.

I’ve attached a screenshot to illustrate the issue, for reference.

The number of items in indices should match the number of input colors. When it doesn’t, all values beyond 0.5 white out (I don’t know why). You also get some really weird behavior with more colors:

For your purposes, having [0,1] indices should work:

The tooltip for indices will say that you need a range of 0.0 to 1.0, but from what I’ve seen it takes the range of numbers inputted and re-maps it along the min/max (negative numbers and large numbers work just fine)

This worked! But when I pass to the “Element.OverrideColorInView” node, it only colours one element. Why is that and how could I solve it?