-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Winkel Tripel projection #492
Conversation
👍 That's a dope projection: http://bl.ocks.org/mbostock/3682676 In order to get it in plotly.js, we'll need to update @chriddyp feel free to give it a shot or I'll can get to it at some point this week. |
- plot-type-specific constants should be in their corresponding plot type directory
@chriddyp hope you like it: |
@mdtusz would you mind reviewing this. Thanks |
@@ -405,6 +406,39 @@ function addProjectionToD3() { | |||
(d3.geo.sinusoidal = function() { | |||
return projection(sinusoidal); | |||
}).raw = sinusoidal; | |||
function aitoff(λ, φ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uhhh...
the winkel tripel projection minimizes distortions in shape, flexion, and skewness. It's also the recommended projection from the cartographers at National Geographic.
I'd like to make this projection available as a default in Plotly 2.0 :)