Setting default zoom of graph to be a subset of data

Hi everyone! Is there a way I can set the default zoom of a graph to be zoomed into a portion of the data? For example, I want to consistently show a certain range of data values, while giving the user an option to pan out and view the entire distribution if they wish.

Does something like this exist? Thanks!