Plot.plot({
width: 960,
height: 150,
marginLeft: 0,
marginRight: 0,
projection: "albers",
fx: { tickFormat: (d) => `${d}’s`, padding: 0 },
facet: {
data: walmarts,
x: (d) => Math.floor(d.date.getUTCFullYear() / 10) * 10
},
marks: [
Plot.geo(statesMesh, { clip: "frame", strokeOpacity: 0.1 }),
Plot.dot(walmarts, {
x: "longitude",
y: "latitude",
r: 1,
fill: "currentColor"
}),
Plot.geo(nation, { clip: "frame" })
]
})