Stress test for antemeridian cutting!
var d3 = require("../d3"), // Make sure this has this patch: https://github.com/mbostock/d3/pull/783 | |
fs = require("fs"); | |
var bufferSize = 1 << 20; | |
streamCSV("test.csv", row, done); | |
function row(d) { | |
console.log("this is a row", d); | |
} |
<!DOCTYPE html> | |
<style> | |
path { | |
stroke: #ccc; | |
fill: none; | |
} | |
path.clip { | |
stroke: #fff; | |
fill: #fc0; | |
} |
Climatologist Irving I. Gringorten published this little-known equal-area projection in 1972.
It is available as d3.geo.gringorten
in the geo.projection D3 plugin.
D3 2.11’s projections will adaptively resample to reduce local distortion of lines. Move the mouse to change the precision, and drag to change the aspect.
Update: Mike has made some awesome improvements!
Testing the new antemeridian cutting in the d3.geo.projection plugin.
A modified version of Mike Bostock’s mesmerising stereographic projection example.
A NASA Blue Marble raster image is reprojected using d3.geo.stereographic().invert
from the geo.projection D3 plugin.
The Peirce quincuncial projection can be constructed using d3.geo.guyou
from the geo.projection D3 plugin.
Rotating Guyou hemispheres.
The Guyou projection is available as d3.geo.guyou
in the geo.projection D3 plugin.