Plot.plot({
insetBottom: 30, insetLeft: 0, insetTop: 10,
projection: {
type: "mercator",
domain: {type: "MultiPoint", coordinates:[[ 5.9375, 45.7980 ], [ 10.5121, 45.7980 ], [ 5.9375, 47.8285 ],[ 10.5121, 47.8285 ]]} },
width: 800,
marks: [
Plot.geo(land, {fill: "#9c6f44", fillOpacity: .1, stroke: "#ccc", strokeOpacity: 1}),
Plot.geo(countries, {fill: (d)=> "black", stroke: "black", opacity: 1,title: (d)=> d.properties.name}),
Plot.geo(countries, {fill: (d)=> "black", opacity: 1, stroke: "white",title: (d)=> d.properties.name, filter: d=>d.properties.name == "Switzerland"}),
Plot.raster(train_stations_europe, {x: "longitude", y: "latitude", fill:"is_city", filter: d=>d.country == "CH"}),
Plot.text(['Switzerland'],{x: 5.9375, y: 47.8285 , dy: -60, dx: 400, fontSize: 70, fontFamily: "italic", fontStyle: "italic", fontWeight: "bold", fill: "#ccc", opacity: 1, lineHeight: 1.2}),
Plot.text(['The densest rail network in Europe'],{x: 5.9375, y: 45.7980 , dy: 40, dx: 400, fontSize: 40, fontFamily: "italic", fontStyle: "italic", fontWeight: "bold", fill: "#ccc", opacity: 1, lineHeight: 1.2}),
Plot.text(['Data: kaggle.com | Design: Deepsha Menghani | Threads: IandLoveandData | Mastodon: Deepsha'],{x:10.4121, y: 45.7980, dy: 120, fontSize: 18, fontStyle: "italic",fill: "gray", opacity: .7, lineHeight: 1.2, textAnchor: "end" }),
],
color: {type: "sequential", legend: false,
range: ["white", "#836539"],
style: {fontSize: 20}, width: 700, ticks: 7},
})