Where the selected places are
Plot.plot({
width: 640,
height: 440,
aspectRatio: 1 / Math.cos(40.7 * Math.PI / 180),
x: {label: "Longitude", ticks: 5},
y: {label: "Latitude", ticks: 5},
color: {legend: true},
style: {backgroundColor: "transparent"},
marks: [
Plot.dot(rows, {x: "lon", y: "lat", fill: d => d.category.replaceAll('_', ' '), r: 1.6, fillOpacity: 0.55, tip: true,
title: d => `${d.name}\n${d.category}\nConfidence ${d.confidence.toFixed(2)}`})
]
})
Places by category