Published
Edited
Oct 24, 2021
Insert cell
# Hudson Valley Traffic Change 2018-2020
Insert cell
Station_11_0005 = FileAttachment("Station_11_0005.csv").csv({typed: true})
Insert cell
Station_11_0017 = FileAttachment("Station_11_0017.csv").csv({typed: true})
Insert cell
Station_11_0137 = FileAttachment("Station_11_0137.csv").csv({typed: true})
Insert cell
Station_11_0903 = FileAttachment("Station_11_0903.csv").csv({typed: true})
Insert cell
Station_13_0024 = FileAttachment("Station_13_0024.csv").csv({typed: true})
Insert cell
Station_13_0056 = FileAttachment("Station_13_0056.csv").csv({typed: true})
Insert cell
Station_13_0475 = FileAttachment("Station_13_0475.csv").csv({typed: true})
Insert cell
Station_15_0337 = FileAttachment("Station_15_0337.csv").csv({typed: true})
Insert cell
Station_16_0279 = FileAttachment("Station_16_0279.csv").csv({typed: true})
Insert cell
Station_81_0174 = FileAttachment("Station_81_0174.csv").csv({typed: true})
Insert cell
Station_81_0222 = FileAttachment("Station_81_0222.csv").csv({typed: true})
Insert cell
Station_83_0002 = FileAttachment("Station_83_0002.csv").csv({typed: true})
Insert cell
Station_83_0038 = FileAttachment("Station_83_0038.csv").csv({typed: true})
Insert cell
Station_83_0164 = FileAttachment("Station_83_0164.csv").csv({typed: true})
Insert cell
Station_83_0362 = FileAttachment("Station_83_0362.csv").csv({typed: true})
Insert cell
Station_83_0567 = FileAttachment("Station_83_0567.csv").csv({typed: true})
Insert cell
Station_83_0684 = FileAttachment("Station_83_0684.csv").csv({typed: true})
Insert cell
Station_84_0008 = FileAttachment("Station_84_0008.csv").csv({typed: true})
Insert cell
Station_84_0902 = FileAttachment("Station_84_0902.csv").csv({typed: true})
Insert cell
Station_84_0905 = FileAttachment("Station_84_0905.csv").csv({typed: true})
Insert cell
Station_85_2580 = FileAttachment("Station_85_2580.csv").csv({typed: true})
Insert cell
Station_86_0025 = FileAttachment("Station_86_0025.csv").csv({typed: true})
Insert cell
Station_87_0021 = FileAttachment("Station_87_0021.csv").csv({typed: true})
Insert cell
Station_87_1012 = FileAttachment("Station_87_1012.csv").csv({typed: true})
Insert cell
Chart11_0005 = Plot.plot({
y: {
grid: true,
label: "↑ Change in Volume"
},
marks: [
Plot.line(Station_11_0005, Plot.windowY({k: 1, x: "Week", y: "18_Volume", stroke: "rgb(0,225,0)"})),
Plot.line(Station_11_0005, Plot.windowY({k: 1, x: "Week", y: "19_Volume", stroke: "rgb(225,0,0)"})),
Plot.line(Station_11_0005, Plot.windowY({k: 1, x: "Week", y: "20_Volume", stroke: "rgb(0,0,225)"})),
Plot.ruleY([0]) // freezing
]
})
Insert cell
Chart11_0017 = Plot.plot({
y: {
grid: true,
label: "↑ Change in Volume"
},
marks: [
Plot.line(Station_11_0017, Plot.windowY({k: 1, x: "Week", y: "18_Volume", stroke: "rgb(0,225,0)"})),
Plot.line(Station_11_0017, Plot.windowY({k: 1, x: "Week", y: "19_Volume", stroke: "rgb(225,0,0)"})),
Plot.line(Station_11_0017, Plot.windowY({k: 1, x: "Week", y: "20_Volume", stroke: "rgb(0,0,225)"})),
Plot.ruleY([0]) // freezing
]
})
Insert cell
Chart11_0137 = Plot.plot({
y: {
grid: true,
label: "↑ Change in Volume"
},
marks: [
Plot.line(Station_11_0137, Plot.windowY({k: 1, x: "Week", y: "18_Volume", stroke: "rgb(0,225,0)"})),
Plot.line(Station_11_0137, Plot.windowY({k: 1, x: "Week", y: "19_Volume", stroke: "rgb(225,0,0)"})),
Plot.line(Station_11_0137, Plot.windowY({k: 1, x: "Week", y: "20_Volume", stroke: "rgb(0,0,225)"})),
Plot.ruleY([0]) // freezing
]
})
Insert cell
Chart11_0903 = Plot.plot({
y: {
grid: true,
label: "↑ Change in Volume"
},
marks: [
Plot.line(Station_11_0903, Plot.windowY({k: 1, x: "Week", y: "18_Volume", stroke: "rgb(0,225,0)"})),
Plot.line(Station_11_0903, Plot.windowY({k: 1, x: "Week", y: "19_Volume", stroke: "rgb(225,0,0)"})),
Plot.line(Station_11_0903, Plot.windowY({k: 1, x: "Week", y: "20_Volume", stroke: "rgb(0,0,225)"})),
Plot.ruleY([0]) // freezing
]
})
Insert cell
Chart13_0024 = Plot.plot({
y: {
grid: true,
label: "↑ Change in Volume"
},
marks: [
Plot.line(Station_13_0024, Plot.windowY({k: 1, x: "Week", y: "18_Volume", stroke: "rgb(0,225,0)"})),
Plot.line(Station_13_0024, Plot.windowY({k: 1, x: "Week", y: "19_Volume", stroke: "rgb(225,0,0)"})),
Plot.line(Station_13_0024, Plot.windowY({k: 1, x: "Week", y: "20_Volume", stroke: "rgb(0,0,225)"})),
Plot.ruleY([0]) // freezing
]
})
Insert cell
Chart13_0056 =
Plot.plot({
y: {
grid: true,
label: "↑ Change in Volume"
},
marks: [
Plot.line(Station_13_0056, Plot.windowY({k: 1, x: "Week", y: "18_Volume", stroke: "rgb(0,225,0)"})),
Plot.line(Station_13_0056, Plot.windowY({k: 1, x: "Week", y: "19_Volume", stroke: "rgb(225,0,0)"})),
Plot.line(Station_13_0056, Plot.windowY({k: 1, x: "Week", y: "20_Volume", stroke: "rgb(0,0,225)"})),
Plot.ruleY([0]) // freezing
]
})
Insert cell
Chart13_0475 =
Plot.plot({
y: {
grid: true,
label: "↑ Change in Volume"
},
marks: [
Plot.line(Station_13_0475, Plot.windowY({k: 1, x: "Week", y: "18_Volume", stroke: "rgb(0,225,0)"})),
Plot.line(Station_13_0475, Plot.windowY({k: 1, x: "Week", y: "19_Volume", stroke: "rgb(225,0,0)"})),
Plot.line(Station_13_0475, Plot.windowY({k: 1, x: "Week", y: "20_Volume", stroke: "rgb(0,0,225)"})),
Plot.ruleY([0]) // freezing
]
})
Insert cell
Chart15_0337 =
Plot.plot({
y: {
grid: true,
label: "↑ Change in Volume"
},
marks: [
Plot.line(Station_15_0337, Plot.windowY({k: 1, x: "Week", y: "18_Volume", stroke: "rgb(0,225,0)"})),
Plot.line(Station_15_0337, Plot.windowY({k: 1, x: "Week", y: "19_Volume", stroke: "rgb(225,0,0)"})),
Plot.line(Station_15_0337, Plot.windowY({k: 1, x: "Week", y: "20_Volume", stroke: "rgb(0,0,225)"})),
Plot.ruleY([0]) // freezing
]
})
Insert cell
Chart16_0279 =
Plot.plot({
y: {
grid: true,
label: "↑ Change in Volume"
},
marks: [
Plot.line(Station_16_0279, Plot.windowY({k: 1, x: "Week", y: "18_Volume", stroke: "rgb(0,225,0)"})),
Plot.line(Station_16_0279, Plot.windowY({k: 1, x: "Week", y: "19_Volume", stroke: "rgb(225,0,0)"})),
Plot.line(Station_16_0279, Plot.windowY({k: 1, x: "Week", y: "20_Volume", stroke: "rgb(0,0,225)"})),
Plot.ruleY([0]) // freezing
]
})
Insert cell
Chart81_0174 =
Plot.plot({
y: {
grid: true,
label: "↑ Change in Volume"
},
marks: [
Plot.line(Station_81_0174, Plot.windowY({k: 1, x: "Week", y: "18_Volume", stroke: "rgb(0,225,0)"})),
Plot.line(Station_81_0174, Plot.windowY({k: 1, x: "Week", y: "19_Volume", stroke: "rgb(225,0,0)"})),
Plot.line(Station_81_0174, Plot.windowY({k: 1, x: "Week", y: "20_Volume", stroke: "rgb(0,0,225)"})),
Plot.ruleY([0]) // freezing
]
})
Insert cell
Chart81_0222 =
Plot.plot({
y: {
grid: true,
label: "↑ Change in Volume"
},
marks: [
Plot.line(Station_81_0222, Plot.windowY({k: 1, x: "Week", y: "18_Volume", stroke: "rgb(0,225,0)"})),
Plot.line(Station_81_0222, Plot.windowY({k: 1, x: "Week", y: "19_Volume", stroke: "rgb(225,0,0)"})),
Plot.line(Station_81_0222, Plot.windowY({k: 1, x: "Week", y: "20_Volume", stroke: "rgb(0,0,225)"})),
Plot.ruleY([0]) // freezing
]
})
Insert cell
Chart83_0002 =
Plot.plot({
y: {
grid: true,
label: "↑ Change in Volume"
},
marks: [
Plot.line(Station_83_0002, Plot.windowY({k: 1, x: "Week", y: "18_Volume", stroke: "rgb(0,225,0)"})),
Plot.line(Station_83_0002, Plot.windowY({k: 1, x: "Week", y: "19_Volume", stroke: "rgb(225,0,0)"})),
Plot.line(Station_83_0002, Plot.windowY({k: 1, x: "Week", y: "20_Volume", stroke: "rgb(0,0,225)"})),
Plot.ruleY([0]) // freezing
]
})
Insert cell
Chart83_0038 =
Plot.plot({
y: {
grid: true,
label: "↑ Change in Volume"
},
marks: [
Plot.line(Station_83_0038, Plot.windowY({k: 1, x: "Week", y: "18_Volume", stroke: "rgb(0,225,0)"})),
Plot.line(Station_83_0038, Plot.windowY({k: 1, x: "Week", y: "19_Volume", stroke: "rgb(225,0,0)"})),
Plot.line(Station_83_0038, Plot.windowY({k: 1, x: "Week", y: "20_Volume", stroke: "rgb(0,0,225)"})),
Plot.ruleY([0]) // freezing
]
})
Insert cell
Chart83_0164 =
Plot.plot({
y: {
grid: true,
label: "↑ Change in Volume"
},
marks: [
Plot.line(Station_83_0164, Plot.windowY({k: 1, x: "Week", y: "18_Volume", stroke: "rgb(0,225,0)"})),
Plot.line(Station_83_0164, Plot.windowY({k: 1, x: "Week", y: "19_Volume", stroke: "rgb(225,0,0)"})),
Plot.line(Station_83_0164, Plot.windowY({k: 1, x: "Week", y: "20_Volume", stroke: "rgb(0,0,225)"})),
Plot.ruleY([0]) // freezing
]
})
Insert cell
Chart83_0362 =
Plot.plot({
y: {
grid: true,
label: "↑ Change in Volume"
},
marks: [
Plot.line(Station_83_0362, Plot.windowY({k: 1, x: "Week", y: "18_Volume", stroke: "rgb(0,225,0)"})),
Plot.line(Station_83_0362, Plot.windowY({k: 1, x: "Week", y: "19_Volume", stroke: "rgb(225,0,0)"})),
Plot.line(Station_83_0362, Plot.windowY({k: 1, x: "Week", y: "20_Volume", stroke: "rgb(0,0,225)"})),
Plot.ruleY([0]) // freezing
]
})
Insert cell
Chart83_0567 =
Plot.plot({
y: {
grid: true,
label: "↑ Change in Volume"
},
marks: [
Plot.line(Station_83_0567, Plot.windowY({k: 1, x: "Week", y: "18_Volume", stroke: "rgb(0,225,0)"})),
Plot.line(Station_83_0567, Plot.windowY({k: 1, x: "Week", y: "19_Volume", stroke: "rgb(225,0,0)"})),
Plot.line(Station_83_0567, Plot.windowY({k: 1, x: "Week", y: "20_Volume", stroke: "rgb(0,0,225)"})),
Plot.ruleY([0]) // freezing
]
})
Insert cell
Chart83_0684 =
Plot.plot({
y: {
grid: true,
label: "↑ Change in Volume"
},
marks: [
Plot.line(Station_83_0684, Plot.windowY({k: 1, x: "Week", y: "18_Volume", stroke: "rgb(0,225,0)"})),
Plot.line(Station_83_0684, Plot.windowY({k: 1, x: "Week", y: "19_Volume", stroke: "rgb(225,0,0)"})),
Plot.line(Station_83_0684, Plot.windowY({k: 1, x: "Week", y: "20_Volume", stroke: "rgb(0,0,225)"})),
Plot.ruleY([0]) // freezing
]
})
Insert cell
Chart84_0008 =
Plot.plot({
y: {
grid: true,
label: "↑ Change in Volume"
},
marks: [
Plot.line(Station_84_0008, Plot.windowY({k: 1, x: "Week", y: "18_Volume", stroke: "rgb(0,225,0)"})),
Plot.line(Station_84_0008, Plot.windowY({k: 1, x: "Week", y: "19_Volume", stroke: "rgb(225,0,0)"})),
Plot.line(Station_84_0008, Plot.windowY({k: 1, x: "Week", y: "20_Volume", stroke: "rgb(0,0,225)"})),
Plot.ruleY([0]) // freezing
]
})
Insert cell
Chart84_0902 =
Plot.plot({
y: {
grid: true,
label: "↑ Change in Volume"
},
marks: [
Plot.line(Station_84_0902, Plot.windowY({k: 1, x: "Week", y: "18_Volume", stroke: "rgb(0,225,0)"})),
Plot.line(Station_84_0902, Plot.windowY({k: 1, x: "Week", y: "19_Volume", stroke: "rgb(225,0,0)"})),
Plot.line(Station_84_0902, Plot.windowY({k: 1, x: "Week", y: "20_Volume", stroke: "rgb(0,0,225)"})),
Plot.ruleY([0]) // freezing
]
})
Insert cell
Chart84_0905 =
Plot.plot({
y: {
grid: true,
label: "↑ Change in Volume"
},
marks: [
Plot.line(Station_84_0905, Plot.windowY({k: 1, x: "Week", y: "18_Volume", stroke: "rgb(0,225,0)"})),
Plot.line(Station_84_0905, Plot.windowY({k: 1, x: "Week", y: "19_Volume", stroke: "rgb(225,0,0)"})),
Plot.line(Station_84_0905, Plot.windowY({k: 1, x: "Week", y: "20_Volume", stroke: "rgb(0,0,225)"})),
Plot.ruleY([0]) // freezing
]
})
Insert cell
Chart85_2580 =
Plot.plot({
y: {
grid: true,
label: "↑ Change in Volume"
},
marks: [
Plot.line(Station_85_2580, Plot.windowY({k: 1, x: "Week", y: "18_Volume", stroke: "rgb(0,225,0)"})),
Plot.line(Station_85_2580, Plot.windowY({k: 1, x: "Week", y: "19_Volume", stroke: "rgb(225,0,0)"})),
Plot.line(Station_85_2580, Plot.windowY({k: 1, x: "Week", y: "20_Volume", stroke: "rgb(0,0,225)"})),
Plot.ruleY([0]) // freezing
]
})
Insert cell
Chart86_0025 =
Plot.plot({
y: {
grid: true,
label: "↑ Change in Volume"
},
marks: [
Plot.line(Station_86_0025, Plot.windowY({k: 1, x: "Week", y: "18_Volume", stroke: "rgb(0,225,0)"})),
Plot.line(Station_86_0025, Plot.windowY({k: 1, x: "Week", y: "19_Volume", stroke: "rgb(225,0,0)"})),
Plot.line(Station_86_0025, Plot.windowY({k: 1, x: "Week", y: "20_Volume", stroke: "rgb(0,0,225)"})),
Plot.ruleY([0]) // freezing
]
})
Insert cell
Chart87_0021 =
Plot.plot({
y: {
grid: true,
label: "↑ Change in Volume"
},
marks: [
Plot.line(Station_87_0021, Plot.windowY({k: 1, x: "Week", y: "18_Volume", stroke: "rgb(0,225,0)"})),
Plot.line(Station_87_0021, Plot.windowY({k: 1, x: "Week", y: "19_Volume", stroke: "rgb(225,0,0)"})),
Plot.line(Station_87_0021, Plot.windowY({k: 1, x: "Week", y: "20_Volume", stroke: "rgb(0,0,225)"})),
Plot.ruleY([0]) // freezing
]
})
Insert cell
Chart87_1012 =
Plot.plot({
y: {
grid: true,
label: "↑ Change in Volume"
},
marks: [
Plot.line(Station_87_1012, Plot.windowY({k: 1, x: "Week", y: "18_Volume", stroke: "rgb(0,225,0)"})),
Plot.line(Station_87_1012, Plot.windowY({k: 1, x: "Week", y: "19_Volume", stroke: "rgb(225,0,0)"})),
Plot.line(Station_87_1012, Plot.windowY({k: 1, x: "Week", y: "20_Volume", stroke: "rgb(0,0,225)"})),
Plot.ruleY([0]) // freezing
]
})
Insert cell

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more