Plot.plot({
marks: [
Plot.dot(devices, {
x: "Width",
y: "Height",
fill: "Device",
fillOpacity: "Sessions",
r: ({ Sessions }) => Math.log(Sessions),
title: ({ Device, Resolution, Sessions }) =>
[Device, Resolution, Sessions].join(": ")
})
],
opacity: { type: "log" },
x: { grid: true, domain: [0, 4200] },
y: { grid: true, domain: [0, 2600] }
})