map2.get(newDate(Date.UTC(2001,0,1)))// this still works…
[...map2.keys()]// but the key isn’t a Date
map3=newInternMap([
[["foo","bar"],1],
[["foo","baz"],2],
[["goo","bee"],3]
],JSON.stringify)
map3.get(["foo","baz"])
set=newInternSet([
newDate(Date.UTC(2000,0,1)),
newDate(Date.UTC(2001,0,1)),
newDate(Date.UTC(2001,0,1))
])
InternMap=d3.InternMap
InternSet=d3.InternSet
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.