Published
Edited
Jul 15, 2020
Fork of Sinusoidal
2 forks
3 stars
Insert cell
Insert cell
projection = d3.geoInterruptedSinusoidal()
Insert cell
map
Insert cell
import {d3, map} with {projection} from "@d3/world-map"
Insert cell
Insert cell
projection2 = d3.geoInterrupt(
d3.geoSinusoidalRaw,
[[ // northern hemisphere
[[-180, 0], [-100, 90], [ -40, 0]],
[[ -40, 0], [ 30, 90], [ 180, 0]]
], [ // southern hemisphere
[[-180, 0], [-160, -90], [-100, 0]],
[[-100, 0], [ -60, -90], [ -20, 0]],
[[ -20, 0], [ 20, -90], [ 80, 0]],
[[ 80, 0], [ 140, -90], [ 180, 0]]
]]
)
Insert cell
map2
Insert cell
import {map as map2} with {projection2 as projection} from "@d3/world-map"
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more