data visualization updates linear regression chart