observablehq / observablehq/plot
projection clip to sphere
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.