Plot.plot({
marginLeft: 120,
height: 300,
x: {
tickSize: 0,
label: null,
},
y: {
tickSize: 0,
},
r: {
range: [0, 50]
},
color: {
range: ["steelblue", "red", "green", "orange"]
},
marks: [
Plot.dot(reducedJoined, {
x: "status",
r: "count",
y: "party",
fill: "status"
}),
Plot.text(reducedJoined, {text: "count", y: "party", x: "status", fill: "white", fontSize: 14, fontWeight: "bold", stroke: "black"})
]
})