Public
Edited
Apr 14, 2023
Importers
1 star
Insert cell
Insert cell
dayjs = {
const t = await require("dayjs");
const utc = await require("dayjs/plugin/utc");
const minMax = await require("dayjs/plugin/minMax");
const weekOfYear = await require("dayjs/plugin/weekOfYear");
const weekYear = await require("dayjs/plugin/weekYear"); // dependent on weekOfYear plugin
const isoWeek = await require("dayjs/plugin/isoWeek");

return t
.extend(utc)
.extend(weekOfYear)
.extend(weekYear)
.extend(minMax)
.extend(isoWeek);
}
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