Public
Edited
Aug 4, 2023
2 stars
Plot: Diverging color scatterplot
Insert cell
Insert cell
Plot.plot({
y: {
grid: true,
tickFormat: "+f",
label: "↑ Surface temperature anomaly (°F)"
},
color: {
scheme: "BuRd",
legend: true,
className: 'large-font'
},
style: {
fontSize: 16
},
marks: [
Plot.ruleY([0]),
Plot.dot(gistemp, {x: "Date", y: "Anomaly", stroke: "Anomaly"})
]
})
Insert cell
<style>
.large-font-ramp {
font-size: 16px;
margin-bottom: 20px;
}
</style>
Insert cell
gistemp = FileAttachment("gistemp.csv").csv({typed: true})
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