Interactive visualizations of time series using JavaScript and the HTML canvas tag