Plot.plot({
projection: "albers-usa",
width,
marks: [
Plot.geo(nation),
Plot.geo(states, {
strokeOpacity: 0.25, y y
fill: d => {
let state = d.properties.name;
if (state === 'California' || state === 'Nevada') return 'green';
if (state === 'Texas' || state === 'Florida') return 'blue';
return 'gray';
}
}),
Plot.geo(counties, { strokeOpacity: 0.1 })
]
})12