Skip to content

A way to enable great-circle interpolation on Plot.link? #1294

@Fil

Description

@Fil

In https://observablehq.com/@fil/flight-paths I create a custom link mark, disabling the projection of (x1,y1) and (x2,y2) in order to use geoPath to draw the link¹.

It would be nice to have a way for Plot.link to opt-in to great-circle interpolation, maybe? That option would be the equivalent of curve: auto for Plot.line.

Note that it's already possible to create a line mark with a flattened dataset [source1, target1, source2, target2, ……] and z = floor(i/2).

¹ also using canvas for speed, but that's not the focus of this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions