I am trying to display pavement condition inventory scores as groups, for instance 60-75 is okay, 76-89 is good, and 90-99 is excellent. I can do that in Map, but not Online. There is no grouping setting I can find. You can use Counts and Amounts and set the manual breaks, but you can't change individual colors in the ramp. I am not good with Arcade, but I found something that partially works. The problem is it only returns 3 categories. That may be all it is designed to do. Does anyone have any suggestions? Thanks!
if($feature.PCI >=90){
return "Great"
}
if (75<= $feature.PCI <90){
return "Better"
}
if (60<= $feature.PCI <75){
return "Okay"
}
if(40<= $feature.PCI <60){
return "Bad"
}
if($feature.PCI <40){
return "Awful"
}
