wordshift = {
const div = d3.create("div");
const shift = shifterator.shifterator().debug()
.setWidth(400)
.setselection(div)
._refF(refF)
._compF(compF)
._lens(lens)
._words(words)
._stoprange(stopRange)
.stop()
.plotdist(false)
.shifter()
.setText([
"Saturday, November 7, 2020",
"The 2020 Presidential election race called with Joe Biden the President-elect.",
"Average happiness: 5.96",
"What's making this day happier than the last seven days:",
])
.plot();
return div.node();
}