Published
Edited
Sep 14, 2018
3 forks
2 stars
Insert cell
Insert cell
map(d3.geoDodecahedral())
Insert cell
Insert cell
d3.geoDodecahedral().parents()
Insert cell
{
var projection = d3.geoDodecahedral()
.parents([-1,0,0,0,1,0,2,0,1,11,6,3])
.rotate([-20,-18,-35])
.fitExtent([[0,0], [960,500]], {type:"Sphere"});
return map(projection);
}
Insert cell
Insert cell
Insert cell
{
var projection = d3.geoDodecahedral()
.angle(angle)
.fitExtent([[0,0], [960,500]], {type:"Sphere"});
return map(projection);
}
Insert cell
Insert cell
{
var projection = d3.geoDodecahedral()
.parents([-1,0,0,0,9,0,9,0,3,8,9,9])
.angle(72)
.rotate([3,0,-32]) // rotation of the Earth inside this model
.fitExtent([[0,0], [width,500]], {type:"Sphere"});
return map(projection);
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
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