Plot.tip on geo features

Is plot.tip works on geo features?
I have tested:

Plot.plot({
  projection: "equirectangular",
  marks: [Plot.geo(world, { fill: "lightblue", tip: true })] // Nope
})

and

Plot.plot({
  projection: "equirectangular",
  marks: [
    Plot.geo(world, { fill: "lightblue" }),
    Plot.tip(world, Plot.pointer({ x: "ISO3", y: "name" })) // Nope
  ]
})
1 Like

You need to use the centroid transform with the tip mark as shown in the docs. The tip option doesn’t work because the geo mark doesn’t have x and y channels; it has a geometry channel.

1 Like

Ok. Thanks.