d3.quantize(dateInterpolator,6)// 🕷 the same Date object is returned 6 times
d3.quantize(t=>newDate(dateInterpolator(t)),6)// 👍 a copy was made for each value
arrayInterpolator=d3.interpolate([0,0],[1,100])
d3.quantize(arrayInterpolator,6)// 🕷 the same array is returned 6 times
d3.quantize(t=>Array.from(arrayInterpolator(t)),6)// 👍 a copy was made for each value
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.