Implement data range scaling