Published
Edited
Dec 7, 2021
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
monthly_p95_excess = monthly.map(v => {
return {
year:v.Year,
month: v.Month,
p95_excess: d3.max([v.Energy - calmonthly[waterMonth(v.Month)-1].Energy_P95,0])
}
})
Insert cell
Insert cell
Insert cell
calmonthly_extendhead=(await d3.csv("https://gis.westernpower.org/data/output_data/scenarios/extendhead_pe_calmonthly.csv?" + Math.floor(Math.random() * 1000), d3.autoType))
Insert cell
Insert cell
folder = model_name==='Base Case'?'':'scenarios/'
Insert cell
model=models.filter(md=>md.ModelName==model_name)[0]
Insert cell
model_name='Base Case'//
Insert cell
models = (await d3.csv("https://gis.westernpower.org/data/input_data/models.csv?" + Math.floor(Math.random() * 1000),d3.autoType))
Insert cell
Insert cell
Insert cell
monthNames = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more