Published
Edited
May 31, 2022
1 fork
Insert cell
# Monthly Housing Prices in London
Insert cell
housing_in_london_monthly_variables = FileAttachment("housing_in_london_monthly_variables.csv").csv({typed:true})
Insert cell
dataOne = housing_in_london_monthly_variables
Insert cell
Plot.plot({
y:{grid: true,
label: "Average house prices(£)"},
x: {label: "Year"},
marks:[
Plot.line(dataOne, {sort: "date",
x:"date", y:"average_price"
})]
})
Insert cell
housing_in_london_monthly_variables1 = FileAttachment("housing_in_london_monthly_variables@1.csv").csv()
Insert cell
points = dataOne.map(d => [d.date, d.average_price])
Insert cell
HousePrice_2010 = FileAttachment("Monthly house price_london_2010_2020.xlsx").xlsx({typed:true})
Insert cell
newFile= FileAttachment("Monthly house price_london_2010_2020.csv").csv({typed:true})
Insert cell
viewof table = Inputs.table(dataOne)
Insert cell
Plot.plot({
marks: [
Plot.lineY(dataOne, {x: "date", y: "average_price"}),
Plot.ruleY([0])
]
})
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