fix percentile colors and update x-axis rendering