Plot.plot({
insetTop: 10,
width: 600,
projection: {type: "mercator", domain: {
type: "MultiPoint", coordinates: [[ -125.0117, 45.5335 ],[ -116.9060, 45.5335 ], [ -125.0117, 49.0125 ], [ -116.9060, 49.0125 ]]}},
marks: [
Plot.geo( counties.features, { fill: d => pop_input_year.get(d.id), stroke: "black", title: d=> d.properties.name, }),
Plot.text(typeinput,{text: d=> 'Washington ' + typeinput,
x:-123.5117, y: 49.0125, dy: -50, fontSize: 30,
fontStyle: "italic", fontWeight: "bold", textAnchor: "start",
fill: "#340002", opacity: 1, lineHeight: 1.2}),
Plot.text(['Date: ofm.wa.gov | Design: Deepsha Menghani | Threads: IandLoveandData | Mastodon: Deepsha'],{x:-116.9060, y:45.5335, dy: 30, fontSize: 14, fill: "#00063f", opacity: .71, lineHeight: 1.2, textAnchor: "end"}),
],
color: {type: "linear", legend: false, scheme: "Reds",
style: {fontSize: 20}, width: 700, ticks: 7}
})