historical graph and regression