Demonstrates the D3 enter, update, and exit selections, and the use of a key function when mutating and binding data. An array of 20 items is repeatedly mutated as the user is clicking the buttons. For each step, the visualization shows the content of the three selections after data binding.
The effect of turning off the key function is clearly visible.
Also demonstrates simple use of D3 transitions and javascript generators
https://d3js.org/d3.v5.js