Unlisted
Edited
Apr 21, 2023
Insert cell
Insert cell
Plot.plot({
projection: "equirectangular",
marks: [
Plot.geo(land), // MultiPolygon
Plot.line(beagle, {stroke: "red"}), // [[lon, lat], …]
Plot.geo({type: "Point", coordinates: [-0.13, 51.5]}, {fill: "red"}) // London
]
})
Insert cell
beagle = FileAttachment("beagle.csv").csv({array: true, typed: true})
Insert cell
world = FileAttachment("countries-110m.json").json()
Insert cell
land = topojson.feature(world, world.objects.land)
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