Hi, I’m attempting to achieve an animated transition with a beeswarm plot in Observable using D3’s general update pattern. I’ve used this example as a starting point but have so far been unsuccessful.
Yes, but you’re missing a merge. See https://beta.observablehq.com/d/bf2b4ae6a921e382. The transitions work, but not always. Sometimes I get “TypeError: el.circles.data is not a function” which also happens with your unmodified code. Hopefully you can figure out why. My time’s up for today.