{
const div = d3.create('div')
.style('height', `${height}px`)
.style('width', `${width}px`);
div.selectAll('div')
.data(data)
.join('div')
.style('position', 'fixed')
.style('width', `${width}px`)
.style('margin-top', '-250px')
.style('display', 'none')
.style('font-size', d => `${textSizeScale(d.occurrences)}px`)
.style('text-align', 'center')
.text(d => d.name);
const move = () => {
div.selectAll('div')
.transition()
.duration(2000)
.style('marigin-top', '750px')
.style('display', 'initial')
.delay((i) => i * 10);
}
return div.node();
}