Plot.plot({
projection: "albers-usa",
marks: [
Plot.geo(states, { stroke: "#ddd", fill: "white", strokeWidth: 1 }),
Plot.dot(us_plants2, {
x: "longitude",
y: "latitude",
fill: "dodgerblue",
r: "total_capacity",
opacity: 0.5
})
],
r: {domain: d3.extent(us_plants2, d => d.total_capacity),
range: [1, 20]},
color: {scheme: "spectral"}
})