Public
Edited
Feb 7
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
colorScheme = {
return {
original: {
nightBeforeMidnight: "rgba(20, 40, 255, 0.6)",
daylight: "yellow",
nightAfterMidnight: "rgba(20, 40, 255, 0.6)"
},
nazar: {
nightBeforeMidnight: "#69b8ea",
daylight: "white",
nightAfterMidnight: "#12278b"
}
};
}
Insert cell
colorSchemeLabels = {
return {
original: "Original (Lemercier)",
nazar: "Nazar (نظر - Mediterranean bead eye)"
};
}
Insert cell
canvasWidth = 600
Insert cell
canvasHeight = 600
Insert cell
Insert cell
Insert cell
SunCalc = require("suncalc@1.9.0")
Insert cell
Insert cell
placeName = place?.address?.village ||
place?.address?.municipality ||
place?.address?.town ||
place?.address?.city ||
""
Insert cell
place = reverseGeocoding(...location)
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