Published
Edited
Feb 21, 2020
2 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
coneAngle = Math.round((90 + Math.sin(now / 3000) * 90) * 100) / 100
Insert cell
point = (i, N, coneAngle) => [i / phi, (Math.cos(0.5 * coneAngle * Math.PI / 180.0) * -0.5 + 0.5) * i / N]
Insert cell
Insert cell
Insert cell
projection = d3.geoOrthographic()
.fitExtent([[1, 1], [width - 1, height - 1]], sphere)
.rotate([now / 100, -30])
.precision(0.1)
Insert cell
phi = (1 + Math.sqrt(5)) / 2
Insert cell
height = 640
Insert cell
sphere = ({type: "Sphere"})
Insert cell
graticule = d3.geoGraticule10()
Insert cell
d3 = require("d3@5")
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