Public
Edited
Apr 8, 2022
Fork of Analemma
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
days = Array.from(
{ length: 365 },
(_, i) =>
new Date(new Date(2021, 0, 1, 12).getTime() + i * 24 * 60 * 60 * 1000)
)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
sun = sunAtTime(timeOfYear)
Insert cell
Insert cell
sphere = ({type: "Sphere"})
Insert cell
graticule = d3.geoGraticule10()
Insert cell
land = topojson.feature(world, world.objects.land)
Insert cell
world = fetch("https://cdn.jsdelivr.net/npm/world-atlas@1/world/50m.json").then(response => response.json())
Insert cell
topojson = require("topojson-client@3")
Insert cell
//d3 = require("d3-geo@1")
d3 = require("d3@6")
Insert cell
solar = require("solar-calculator@0.3/dist/solar-calculator.min.js")
Insert cell
Insert cell
suncalc = require('suncalc')
Insert cell
Insert cell
Insert cell
Insert cell
table1
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