consta=scale(0);// 🌶 a and b are the same object, so their values are identical in the result (2019…)
constb=scale(1);
constc=newDate(scale(0));// 👍 c is a copy (2000…), and so will not be mutated by the next call
constd=newDate(scale(1));
return{a,b,c,d};
}
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.