observablehq / observablehq/plot

projection clip to sphere

Open
#1,152 0 comments 1 reaction 1 assignee View on GitHub

@Fil is already working on this.

Since Dec 5, 2022.

enhancement geo
Dominant language
HTML
Stars
5.4k
Forks
244
PR merge metrics
No merged PRs in 30d

Description

For projections that need to be clipped to the sphere (armadillo, Berghaus, etc.), we expect the user to add {clip:"sphere"} to each of their geo marks, except Plot.sphere. This is a bit clunky and should be automated.

A first attempt was made in #1150, but too complex.

Maybe the solution is to make these projections not need svg clipping, like I did for the butterfly projections in d3-geo-polygon. https://observablehq.com/@fil/polyhedral-projections-with-d3-geo-polygon

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.