Public
Edited
Jun 13
Fork of NetCDF
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
climate_change_rcp45_with_amoc_collapse = FileAttachment("out2.nc")
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
polygons = contours(cylinder(topdown(values))).map(invert).map(function(p) {
return p.type == "Polygon" ? simplify(p, 0.01) : p;
})
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
Insert cell
Plot.plot({
width,
height: width / 2,
projection: {
type: d3.geoNaturalEarth1,
inset: 30,
domain: { type: "Sphere" }
},
color: {
domain: [d3.min(values), d3.max(values)],
type: "diverging",
scheme: "BuRd",
pivot: d3.median(values)
},
marks: [
Plot.graticule({ clip: "sphere" }),
Plot.geo(polygons, { stroke: "#FFF5", fill: "value" }),
Plot.geo(countries50m, { stroke: "#FFF3" }),
Plot.geo(land50m, { stroke: "#FFF9" }),
Plot.geo({ type: "Sphere" }, { stroke: "#444" })
]
})
Insert cell
import { world110m, world50m } from "@visionscarto/geo"
Insert cell
countries50m = topojson.feature(world110m, world110m.objects.countries)
Insert cell
land50m = topojson.feature(world110m, world110m.objects.land)
Insert cell
contours
Insert cell
d3.min(values)
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