Modeling and visualizing time series