Plot.plot({
height: 780,
color: {
scheme: "reds",
domain: incidentsAdvAsn1.incidents,
},
marks: [
Plot.dot(incidentsAdvAsn1,
Plot.dodgeY({
x: "incidents_adv_asn",
r: "adv_asn",
fill: "incidents",
padding: 2,
stroke: "#000",
strokeWidth: 1
})),
Plot.ruleX([0.030508137], {stroke: "red", strokeWidth: 2}),
Plot.text(
incidentsAdvAsn1,
Plot.filter(
(d) => d.incidents >= 50,
Plot.dodgeY({
x: "incidents_adv_asn",
r: "adv_asn",
padding: 2,
fill: "#000",
stroke: "pink",
text: "alpha2"
})
))
]
})