{
var plot = html`<div></div>`
var avg = {
x: cc_data.months,
y: cc_data.mnthly_avgs.mnth_lowest,
name: 'Average',
mode: 'lines',
line: {color: '#c3c3c3', width: 8, shape: 'spline'}
}
var present = {
x: cc_data.months,
y: cc_data[2014].mnth_lowest,
name: 'Year: 2014',
mode: 'lines+markers',
marker: {symbol: 'circle-open', size: 12,
line: {width: 2}
},
line: {color: 'red', shape: 'spline', smoothing: 0.6}
}
var layout = {
title: "Lowest Monthly Temperatures in Melbourne",
yaxis: {title: 'Temperature (degrees)'},
xaxis: {tickfont: {size: 20}, tickangle: 45, showline:true, ticks: 'outside'}
}
plotly.react(plot, [avg, present], layout)
return plot
}