Trying to make a little page to reproject data using d3.carto jam and it kind of works.
This defaults to a gnomonic projection w/ map.mode('globe') which makes for some rotating cool rotation effects when panning the map rather than just transitioning every path like in projection mode.
Then there's the boring old transform mode which I think is just mercator.
Please see d3-cart-map readme.md for a little explanation of the map modes (from which 'globe' is missing). And show me how to use them correctly.
https://github.com/emeeks/d3-carto-map
Things which could make this a little nicer:
-Adding some graticules maybe not to the feature group.
-Adding different kinds of layers.
-Figure out what the errors are about the paths which get multiplied when panning in globe mode.
For some much cleaner better javascript examples of how to do similar things w/ d3 please see Jason Davies stuff like http://www.jasondavies.com/maps/transition/ and Mike Bostocks stuff like /mbostock/3711652.
Really I'm just trying to figure out how to kind of do some things they did w/ d3-carto-map.
As always let me know if there is anything silly in my code or how I could make it better.
Modified http://d3js.org/d3.v3.min.js to a secure url
Modified http://d3js.org/topojson.v1.min.js to a secure url
Modified http://d3js.org/d3.geo.projection.v0.min.js to a secure url
Updated missing url https://rawgit.com/emeeks/d3-carto-map/master/d3.carto.map.js to https://cdn.jsdelivr.net/gh/emeeks/d3-carto-map/d3.carto.map.js
https://d3js.org/d3.v3.min.js
https://d3js.org/topojson.v1.min.js
https://d3js.org/d3.geo.projection.v0.min.js
https://rawgit.com/emeeks/d3-carto-map/master/d3.carto.map.js