Plot.plot({
width: 800,
height: 600,
marginLeft: 0,
marginRight: 0,
projection: "Equirectangular",
fx: { tickFormat: (d) => `${d}’s`, padding: 0 },
facet: { data: primates, x: (d) => Math.floor(d.max_ma / 10) * 10 },
marks: [
Plot.geo(mesh, { clip: "frame", strokeOpacity: 0.1 }),
Plot.dot(primates, { x: "lng", y: "lat", r: 1, fill: "currentColor" }),
Plot.geo(americas_features, { clip: "frame" })
]
})