bertin.draw({
params: { projection: d3.geoAlbers(), extent: states, margin: 30 },
layers: [
{
type: "dotdensity",
values: "pop2019",
dotvalue: 75000,
symbol_size: 22,
geojson: usa,
fill: "red",
symbol_shift: 0,
tooltip: ["$NAME", "$pop2019", "inh."]
},
{
geojson: states,
fill: "#e3d48a",
strokeWidth: 1,
stroke: "white"
},
]
})