Published
Edited
Apr 24, 2018
17 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
timeScale = d3.scaleTime()
.domain([start, end])
.range([0, numberOfDays])
Insert cell
Insert cell
numberOfDays = d3.timeDay.count(start, end)
Insert cell
Insert cell
date = timeScale.invert(slider)
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