Published
Edited
Jun 4, 2019
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
margin = ({top: 20, right: 30, bottom: 30, left: 55})
Insert cell
Insert cell
width = 360
Insert cell
date = new Date(2019,6,1,0,0,0)
Insert cell
dateToBed = d3.timeHour.offset(date, hours)
Insert cell
dateAwake = d3.timeHour.offset(date, hoursInBed+hours)
Insert cell
d3 = require("d3@5")
Insert cell
import {serialize} from "@mbostock/saving-svg"
Insert cell
import {slider, checkbox, color, time} from "@jashkenas/inputs"
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