Plot.plot({
marginTop: 80,
marginLeft: 120,
r: { type: "linear", range: [5, 28] },
color: { scheme: "RdYlGn", domain: [1, 5]},
x: {
tickRotate: -35, axis: "top",
},
marks: [
Plot.dot(data, {
x: "field",
y: "name",
r: "value",
fill: "value",
opacity: 0.9
}),
Plot.text(data, {
x: "field",
y: "name",
text: "value",
fill: "white"
})
],
width: 700,
height: 500
})