plotByRate function

Generates a plot that compares how percentile values in a metric of interest vary as an underlying rate metric changes.