Modified sketch of individual transitions to incorporate the using data to render and apply the circles to the DOM (but ignored from the browser), and use p5 to paint to the canvas.
-p5-D3-cookbook