tinker with data pooling, specify attribute to color by as a function