finishedResolutionsByDevice = Plot.dot(devicesFinished, {
x: "Width",
y: "Height",
fill: "Device",
fillOpacity: "Sessions",
r: ({ Sessions }) => Math.log(Sessions),
title: ({ Resolution, Sessions }) => [Resolution, Sessions].join(": ")
}).plot({
width,
height: width * 0.5,
x: { grid: true, domain: [0, 5000] },
y: { grid: true, domain: [0, 2600] },
opacity: { type: "log" },
facet: { data: devicesFinished, x: "Device" }
})