Published
Edited
Mar 5, 2021
2 forks
10 stars
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
data[0]
Insert cell
data = d3.csvParse(await FileAttachment("sweden_temp.csv").text(), d3.autoType)
.map(d => {
const maxC = (d.TMAX -32) * 5/9,
minC = (d.TMIN -32) * 5/9;
return{
date: d.DATE.toLocaleString(),
max: maxC,
min: minC,
avg: d3.mean([maxC, minC])
}
})
Insert cell
Insert cell
Insert cell
Insert cell
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