Public
Edited
Apr 10, 2024
Insert cell
Insert cell
Plot.plot({
width,
height: width * 0.437,
projection: {
type: ({ width, height }) => d3.geoImago().fitSize([width, height], land),
inset: 5
},
marks: [
Plot.frame(),
Plot.geo(land, {
stroke: "currentColor",
fill: "currentColor",
fillOpacity: 0.06
})
]
})
Insert cell
import { land } from "@visionscarto/geo"
Insert cell
d3 = require("d3-geo-polygon@1.9") // Imago
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