viewof dateLimit = interval([earliest.getTime(), latest.getTime()],{
title: "Date range selector",
width: "400px",
step: 1000 * 60 * 60 * 24,
format: ([s, e]) => `${(new Date(s)).toDateString()} → ${(new Date(e)).toDateString()}`,
label: 'Select date interval',
})