added auto-scaling for visualization color thresholds