Plot.plot({
width: 640,
height: 640,
inset: 200,
marks: [
Plot.dot(factors, {x: "x", y: "y", r: 2.5, fill: "pink"}),
Plot.voronoi(factors, {x: "x", y: "y", title: "state", pointerEvents: "all",stroke:"pink"}),
Plot.dot(factors, {x: "x", y: "intensity1", r: 2.5, fill: "black"}),
Plot.voronoi(factors, {x: "x", y:"intensity1", title: "state", pointerEvents: "all", stroke:"black"}),
Plot.dot(factors, {x: "x", y: "intensity2", r: 2.5, fill: "red"}),
Plot.voronoi(factors, {x: "x", y:"intensity2", title: "state", pointerEvents: "all", stroke:"red"}),
]
})