Public
Edited
May 14, 2024
Importers
Insert cell
Insert cell
Insert cell
viewof singleStation = Inputs.toggle({label: "Highlight selected station", value: false})
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
averageCall = function(d){
if(d == "StartYear") return 0
else if(d == "x") return 1
else return 2
}
Insert cell
data = [datayearly, dataMonthly, dataDaily]
Insert cell
datayearly = FileAttachment("stationAggYearly2011_2020.csv").csv({typed: true})
Insert cell
dataMonthly = FileAttachment("stationAggYearMonthly2011_2020.csv").csv({typed: true})
Insert cell
dataDaily = FileAttachment("stationAggDaytoDay2011_2020May12.csv").csv({typed: true})
Insert cell
stations = [...new Set(datayearly.map(x => x["Station Name"]))]
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